@types/stats-lite
TypeScript icon, indicating that this package has built-in type declarations

2.2.2 • Public • Published

Installation

npm install --save @types/stats-lite

Summary

This package contains type definitions for stats-lite (https://github.com/brycebaril/node-stats-lite).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/stats-lite.

index.d.ts

export function sum(ns: number[]): number;
export function mean(ns: number[]): number;
export function median(ns: number[]): number;
export function mode(ns: number[]): number;
export function variance(ns: number[]): number;
export function stdev(ns: number[]): number;
export function sampleStdev(ns: number[]): number;
export function percentile(ns: number[], percentile: number): number;
export function histogram(ns: number[], percentile: number): number;

Additional Details

  • Last updated: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: none

Credits

These definitions were written by Nathan Shively-Sanders.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/stats-lite

Weekly Downloads

16,865

Version

2.2.2

License

MIT

Unpacked Size

3.49 kB

Total Files

5

Last publish

Collaborators

  • types