1.0.6 • Published 5 months ago

median-ts v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

Typescript usage

import { median } from 'median';

const numbers: number[] = [1, 3, 3, 6, 7, 8, 9];
console.log(`The median is: ${median(numbers)}`);

Javascript usage

const median = require('median-ts').median;

const numbers = [3, 1, 4, 1, 5, 9, 2, 6, 5];
console.log(median(numbers));
1.0.6

5 months ago

1.0.5

5 months ago

1.0.4

5 months ago

1.0.3

5 months ago

1.0.2

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago