0.1.0 • Published 9 years ago

array-std v0.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

array-std NPM version Build Status

Calculate the standard deviation of an array of numbers.

Install with npm

$ npm i array-std --save

Usage

var std = require('array-std');

std([1, 2, 3, 4, 5, 6, 7, 8, 9, 25]);
//=> 6.48074069840786

std(['1', 2, '3', 4, 5, '6', 7, 8, 9, 25]);
//=> 6.48074069840786

std(['1', 'foo', 2, '3', 4, 5, '6', 7, {}, 8, 9, 25]);
//=> 6.011177859559577

Related projects

Running tests

Install dev dependencies:

$ npm i -d && npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Author

Brian Woodward

License

Copyright © 2015 Brian Woodward Released under the MIT license.


This file was generated by verb-cli on September 23, 2015.