{"name":"simple-statistics","version":"7.8.3","description":"Simple Statistics","author":{"name":"Tom MacWright","email":"tom@macwright.com","url":"https://macwright.com/"},"repository":{"type":"git","url":"git://github.com/simple-statistics/simple-statistics.git"},"devDependencies":{"@rollup/plugin-buble":"^1.0.1","cz-conventional-changelog":"^3.3.0","documentation":"^14","eslint":"^8.26.0","eslint-plugin-import":"^2.26.0","eslint-plugin-prettier":"^4.2.1","prettier":"^2.7.1","random-js":"^2.1.0","rollup":"^3.5.1","rollup-plugin-terser":"^7.0.2","standard-version":"^9.5.0","tap":"^16.3.0","typescript":"^4.8.4"},"scripts":{"release":"standard-version && sh ./scripts/update_website.sh","test":"rollup -c rollup.config.mjs && npm run lint && tap --lines 95 --branches 95 --functions 95 --statements 95 --coverage test/*.test.js --jobs=4","build":"rollup -c rollup.config.mjs","prepublish":"rollup -c rollup.config.mjs && ./scripts/update_readme.js","prelint":"tsc --skipLibCheck","lint":"eslint index.js src test && prettier --check src test \"!test/types.js\"","lint-fix":"eslint index.js src test --fix && prettier src test \"!test/types.js\" --write","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",".":{"types":"./index.d.ts","import":"./dist/simple-statistics.mjs","browser":"./dist/simple-statistics.min.js","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":"b4a9c787943534d46ce8405846858eb4866af47e","bugs":{"url":"https://github.com/simple-statistics/simple-statistics/issues"},"homepage":"https://github.com/simple-statistics/simple-statistics#readme","_id":"simple-statistics@7.8.3","_nodeVersion":"18.12.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-JFvMY00t6SBGtwMuJ+nqgsx9ylkMiJ5JlK9bkj8AdvniIe5615wWQYkKHXe84XtSuc40G/tlrPu0A5/NlJvv8A==","shasum":"62998dd7786ba14fa27b07f4f3cd498466f7961a","tarball":"http://registry-npm.ywwl.com/simple-statistics/download/simple-statistics-7.8.3.tgz","fileCount":189,"unpackedSize":1189585,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFLfMFjJA2ftiJZMIWW8XX7MpExc6ewRpXdJWvUGBC6RAiEAkGLDR1nXtGiG22EELDtHefc2XK+uF7zJsEEC9RF1kPk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj6aoBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqxVw//SZQIHcTIkDZYg/Ys4xvzlkJDDXWnHN/zQzN/U4wEqYfReg9l\r\nCq95WOpQeVEpnGevZGUs72BmrvM6Z0jV9Jo3BWmTIbW4Y1uKcCtF5zwBwLhm\r\n8o751Rv3pft2qNpPXVhoRBOxaLyZZZbzzE+qhOOoxk33RZGLJjrdrD4pnyGU\r\nmvIJCuArwgCXWFu/rzuJOENc1kdvv7Aro0+fCom5qhfLY3pZ0vLAy/sl1wFz\r\n8VCDz4Z6hwZoNb02aKFSdfTWOs7B52cfSK3/7LN9p3vdIgo5UnJa1rO1Tguw\r\n4uBBu7QqAiG+hFadY8YMBGmN+DQEx8ObGkJIciuMkvwkgWxUmHfX19IbT30e\r\nfRX4FwaXUhAG4/CfvUcLetchGDN9+/Up/K/10WCfKFUwyl/3EGd2pfrsuSq2\r\ntmTAOuwOHfYNZ4JbjI9LsmCgLYfwH2/mkQnuAL/UHAQapEhVn3lOQe0/5x8K\r\nFCdvjqClfkRvYHf+rpGNe385B/7OSJdeyrDukKiSrVOyuKTVhc//HhKs6HwP\r\n/TUmi6FbqD0q895UKhfCXr4yGT1U2xIBK7oaHMEiRVeT7n3quEzzCFzm7pQJ\r\nseCzDZ7o8T+r9XB2KlHMj4jUGpMlb95uUZPGaE2ocTy8qqhiZdjOBB7LOpGT\r\nyUYMymgAh/iwumpC3XPm/32W2DJAtIZCM+8=\r\n=cIQA\r\n-----END PGP SIGNATURE-----\r\n","size":290433,"noattachment":false,"key":"/simple-statistics/-/simple-statistics-7.8.3.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.8.3_1676257792871_0.040596993012880445"},"_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":1676257793051,"_cnpm_publish_time":1676257793051,"dist-tags":{"latest":"8.0.0","testing":"7.0.9-alpha.0"}}