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.