{"name":"simple-statistics","version":"7.7.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"},"devDependencies":{"@rollup/plugin-buble":"^0.21.3","cz-conventional-changelog":"^3.3.0","documentation":"^13","eslint":"^7.23.0","eslint-plugin-prettier":"^3.3.1","prettier":"^2.2.1","random-js":"^2.1.0","rollup":"^2.44.0","rollup-plugin-terser":"^7.0.2","standard-version":"^9.1.1","tap":"^14.11.0","typescript":"^4.2.3"},"scripts":{"release":"standard-version && sh ./scripts/update_website.sh","test":"rollup -c rollup.config.js && npm run lint && tap --coverage test/*.test.js --jobs=4","build":"rollup -c rollup.config.js","prepublish":"rollup -c rollup.config.js && ./scripts/update_readme.js","prelint":"tsc --skipLibCheck","lint":"eslint index.js src test && prettier --check src test \"!test/types.js\"","postlint":"documentation lint src"},"source":"index.js","main":"dist/simple-statistics.js","module":"dist/simple-statistics.mjs","umd:main":"dist/simple-statistics.min.js","browser":"dist/simple-statistics.min.js","unpkg":"dist/simple-statistics.min.js","types":"index.d.ts","exports":{"./package.json":"./package.json",".":{"import":"./dist/simple-statistics.mjs","require":"./dist/simple-statistics.js"}},"engines":{"node":"*"},"license":"ISC","keywords":["descriptive","linear","math","probability","regression","statistics"],"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"gitHead":"f57cb24693ed2219ae6f8606a0c79540bdf9123f","bugs":{"url":"https://github.com/simple-statistics/simple-statistics/issues"},"homepage":"https://github.com/simple-statistics/simple-statistics#readme","_id":"simple-statistics@7.7.0","_nodeVersion":"12.21.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-TAsZRUJ7FD/yCnm5UBgyWU7bP1gOPsw9n/dVrE8hQ+BF1zJPgDJ5X/MOnxG+HE/7nejSpJLJLdmTh7bkfsFkRw==","shasum":"cfef964473c940f2adfec85ffde8591a5a933a46","tarball":"http://registry-npm.ywwl.com/simple-statistics/download/simple-statistics-7.7.0.tgz","fileCount":185,"unpackedSize":1158865,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgY80fCRA9TVsSAnZWagAAt7oP/2Q3cwfNu33I707xV8RA\niLpqBhuIjA4MarAfJqLle0Ee85rRZIQ5F0sSSjprhz+pe2Oc7jxQnQjDuCX0\nLuD2NP6kUSCgvt4lg59wDVeG4nel7nAXQ3l9fgzk4X1pBAA+MRwlA6+gzfmW\nJ/D7FbwsP+uUzicQH8ZRj7RdwGFnrDFbajrBmHnbX2+2vdUmFm4YDrDx7eGg\naryLE7ONIJSBqF2oX1t+2E+egi8OCYVs7BQEV+xvbXakTdrDl1X4cULfC4lt\n2ZejtXfi2cBbeHiCh1XCKEAJba7h3Ukb3sigywfdajN1h0mBVzqoQV/QwKSL\nTjHKYyMByKVf8/jgNjeb6YkpWAzYwVRlGCs3dkNYnw/rsVdU2q/E+wXdzTAA\nJW0GRp+OtM78mcLFErENs//Kbug5fupEu/YFCQNz6DcgZSCMqguAuB3dDqmd\nxe+B2Geu+Ud/00UKvchnShp8yzbN9K1BZbGhkr3WSSHSM3/rXvVYI8gCUAOv\nFZ1IlSovJHJy75Ddt5AOobgDazEYQzWkAX1DGCHof9X5NHIKY3ZAM4Wd7ke9\nTVchRN42bW8BRTpu/CPTzfs7sOwL+8MttURcB7AXt4mbhqMz3lQdVIyUDGJd\n70g2C5z8F7iKx5XVgFWugxTjLTGHOEd42WT2ZY5c8JFvP1WeQA99MrKceUu7\nTW65\r\n=nxXD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQ7Neang4CAA9hLJIBs/+umo3o8NLIs5zY8pltZ0q7CgIgSQWCKF1vUE4WR3PSVepuPgoB07Qo475/K0xDfR0tQqY="}],"size":286288,"noattachment":false,"key":"/simple-statistics/-/simple-statistics-7.7.0.tgz"},"_npmUser":{"name":"tmcw","email":"tom@macwright.com"},"directories":{},"maintainers":[{"name":"tmcw","email":"tom@macwright.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-statistics_7.7.0_1617153311221_0.07386718909542811"},"_hasShrinkwrap":false,"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":1617153311407,"_cnpm_publish_time":1617153311407,"dist-tags":{"latest":"8.0.0","testing":"7.0.9-alpha.0"}}