{"name":"simple-statistics","version":"2.0.0","description":"Simple Statistics","author":{"name":"Tom MacWright","email":"tom@macwright.org","url":"http://macwright.org/"},"repository":{"type":"git","url":"git://github.com/simple-statistics/simple-statistics.git"},"files":["src","dist"],"dependencies":{},"devDependencies":{"are-we-flow-yet":"^1.0.0","browserify":"^13.0.0","bundle-collapser":"^1.0.0","eslint":"^2.4.0","exorcist":"^0.4.0","flow-bin":"^0.22.0","random-js":"^1.0.4","tap":"^5.7.0","uglify-js":"^2.6.2"},"scripts":{"test":"are-we-flow-yet src && flow check src && eslint index.js src/*.js test/*.js && tap --coverage test/*.js","test-sauce":"node scripts/browser_test.js","build":"npm run bundle && npm run minify","prepublish":"npm run build","bundle":"mkdir -p dist && browserify -p bundle-collapser/plugin -s ss index.js --debug | exorcist dist/simple-statistics.js.map > dist/simple-statistics.js","minify":"uglifyjs dist/simple-statistics.js -c -m --in-source-map=dist/simple-statistics.js.map --source-map=dist/simple-statistics.min.js.map -o dist/simple-statistics.min.js"},"main":"index.js","engines":{"node":"*"},"license":"ISC","keywords":["descriptive","linear","math","probability","regression","statistics"],"gitHead":"1892c7a4736d194310aefdb6f44ed6136124a235","bugs":{"url":"https://github.com/simple-statistics/simple-statistics/issues"},"homepage":"https://github.com/simple-statistics/simple-statistics#readme","_id":"simple-statistics@2.0.0","_shasum":"3105f51bfa3fca238b077a5d05fd45653d23bfa4","_from":".","_npmVersion":"3.9.2","_nodeVersion":"5.11.0","_npmUser":{"name":"tmcw","email":"tom@macwright.org"},"dist":{"shasum":"3105f51bfa3fca238b077a5d05fd45653d23bfa4","tarball":"http://registry-npm.ywwl.com/simple-statistics/download/simple-statistics-2.0.0.tgz","integrity":"sha512-bOupTv3tYDdTax/iDntngzqxooigna3yak26m3BAwhORQo8cyT1txWRH+BT1AMrG0NibgwS90KlhVtl/i+ceug==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDEcczHlaeMc/EjCvqnNBu4YbjjQBs2tnVVFCqvTjcQzwIhAPer4t9667PMf+RGbiOEHbuwvXvtEuNqLKpN3MjDxEqG"}],"size":102691,"noattachment":false,"key":"/simple-statistics/-/simple-statistics-2.0.0.tgz"},"maintainers":[{"name":"tmcw","email":"macwright@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/simple-statistics-2.0.0.tgz_1464294442872_0.3408678499981761"},"directories":{},"readme":"# Simple Statistics\n\n\nA JavaScript implementation of descriptive, regression, and inference statistics.\n\n[![Coverage Status](https://coveralls.io/repos/github/simple-statistics/simple-statistics/badge.svg)](https://coveralls.io/github/simple-statistics/simple-statistics)\n[![npm version](https://badge.fury.io/js/simple-statistics.svg)](http://badge.fury.io/js/simple-statistics)\n\nImplemented in literate JavaScript with no dependencies, designed to work\nin all modern browsers (including IE) as well as in [node.js](https://nodejs.org/).\n\n* :green_book: [API Documentation](http://simplestatistics.org/docs/)\n* :chart_with_upwards_trend: [Benchmarks](./benchmarks/)\n* :kissing: [A list of other statistics libraries](./SEEALSO.md)\n\n## Installation\n\n* **I'm using Node.js, Webpack, Browserify, Rollup, or another module bundler,\n  and install packages from npm.**\n  * First, install the `simple-statistics` module, using `npm install simple-statistics`,\n    then include the code with require or import:\n  * **I use the `require` function to use modules in my project. (most likely)**\n    * When you use `require`, you have the freedom to assign the module to any\n      variable name you want, but you need to specify the module's name exactly:\n      in this case, 'simple-statistics'. The `require` method returns an object\n      with all of the module's methods attached to it.<br /> <pre>var ss = require('simple-statistics')</pre>\n  * **I use `import` to use modules in my project. I'm probably using Babel, `@std/esm`, Webpack, or Rollup.**\n    * Import all functions under the ss object: <pre>import * as ss from 'simple-statistics'</pre>\n      Include a specific named export: <pre>import {min} from 'simple-statistics'</pre>\n      Simple statistics has _only_ named exports for ES6.\n* **I'm using Deno.**\n  * Simple Statistics is published for Deno: https://deno.land/x/simplestatistics\n* **I'm not using a module bundler. I'm writing a web page, and want to include\n  simple-statistics using a script tag.**\n  * **I want to support all browsers**\n    * When you use simple-statistics from a script tag, you don't get to choose\n      the variable name it is assigned to: simple-statistics will always become\n      available globally as the variable `ss`. You can reassign this variable to\n      another name if you want to, but doing so is optional.\n      ```HTML\n      <script src='https://unpkg.com/simple-statistics@7.8.2/dist/simple-statistics.min.js'>\n      </script>\n      ```\n  * **I want to use ES6 modules in a browser and I'm [willing to only support new browsers](https://caniuse.com/#feat=es6-module) to do it**\n    * This module works great with the [`?module`](https://unpkg.com/#/query-parameters) query parameter of unpkg. If you\n      specify `type='module'` in your script tag, you'll be able to import simple-statistics\n      directly - through `index.js` and with true [ES6 import syntax and behavior](http://exploringjs.com/es6/ch_modules.html).\n      ```js\n      <script type='module'>\n      import {min} from \"https://unpkg.com/simple-statistics@7.8.2/index.js?module\"\n      console.log(min([1, 2, 3]))\n      </script>\n      ```\n      This feature is still experimental in unpkg and very bleeding-edge.\n","publish_time":1464294445585,"_cnpm_publish_time":1464294445585,"dist-tags":{"latest":"8.0.0","testing":"7.0.9-alpha.0"}}