{"maintainers":[{"email":"budnix+npm@gmail.com","name":"anonymous"},{"email":"js.ziggle@gmail.com","name":"anonymous"},{"email":"marcin.warpechowski@handsontable.com","name":"anonymous"},{"email":"mateusz.wojczal@handsontable.com","name":"anonymous"}],"dist-tags":{"latest":"1.0.0"},"author":{"url":"https://handsoncode.net","name":"Handsoncode","email":"hello@handsoncode.net"},"description":"Statistical Library for JavaScript","readme":"**@handsontable/jstat** - JavaScript Statistical Library\n===============================================================\n\n**jStat** provides native javascript implementations of statistical functions.\nFull details are available in the [docs](http://handsontable.github.io/jstat/).\njStat provides more functions than most libraries, including the weibull, cauchy, poisson, hypergeometric, and beta distributions.\nFor most distributions, jStat provides the pdf, cdf, inverse, mean, mode, variance, and a sample function, allowing for more complex calculations.\n\n[![npm version](https://img.shields.io/npm/v/@handsontable/jstat.svg)](https://www.npmjs.com/package/@handsontable/jstat)\n\n## Table of contents\n\n\n 1. [Installation](#installation)\n 2. [Getting Started](#getting-started)\n 3. [Building jStat](#building-jstat)\n 4. [Running Tests](#Running-tests)\n 5. [Get the Code](#get-the-code)\n 6. [Contributing](#contributing)\n 7. [Licensing](#licensing)\n\n## Installation\nUse npm to download the project.\n```\nnpm install @handsontable/jstat\n```\n\n## Getting Started\n\njStat can be used in the browser. The `jStat` object will be added to the window. For example:\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@handsontable/jstat/dist/jstat.min.js\"></script> <!-- include jStat, from the CDN or otherwise -->\n<script>\nvar jstat = this.jStat(dataset); // jStat will be added to the window\n\ndata[i]['cum'] = jstat.normal(jstat.mean(), jstat.stdev()).cdf(data[i].x);\n</script>\n\n```\n\nUsing jStat in Node environment.\n\n```js\nconst jStat = require('@handsontable/jstat');\n\ndata[i]['cum'] = jStat.normal(jStat.mean(), jStat.stdev()).cdf(data[i].x);\n```\n\n## Building jStat\n\nFirst, clone a copy of the jStat git repo by running `git clone https://github.com/handsontable/jstat.git`.\n\nTo download all necessary dependencies run `npm install` in the cloned repository.\n\nThen, to get a complete, minified version of jStat and all documentation, simply type `npm run all`.\n\nThe built version of jStat will be put in the `dist/` subdirectory.\n\nGenerate just the documentation by running `npm run doc`. Documentation will be placed in `dist/docs` by default.\n\nTo remove all built files, run `npm run clean`.\n\n## Running Tests\n\nExecute all tests by running `npm run test`.\n\nOr if you wish to run a specific test, `cd` to `test/<subdir>` and run `node <some_test>-test.js`.\n\n## Get the Code\n\nBoth the minified and unminified source are located in the `dist/` directory. For those who don't want to build\nit themselves.\n\n## Contributing\nIf you would like to help us to develop this library, please first read the [guide for contributors](//github.com/handsontable/jstat/blob/master/CONTRIBUTING.md).\n\n## Licensing\nThis library is released under the MIT license.\nThe project is based on the great work of [jStat](https://github.com/jstat/jstat).\n","repository":{"url":"git+https://github.com/handsontable/jstat.git","type":"git"},"bugs":{"url":"https://github.com/handsontable/jstat/issues"},"license":"MIT","versions":{"1.0.0":{"name":"@handsontable/jstat","version":"1.0.0","author":{"url":"https://handsoncode.net","name":"Handsoncode","email":"hello@handsoncode.net"},"license":"MIT","_id":"@handsontable/jstat@1.0.0","maintainers":[{"name":"anonymous","email":"krzysztof.spilka@handsontable.com"},{"name":"anonymous","email":"budnix+npm@gmail.com"},{"name":"anonymous","email":"swistach@gmail.com"},{"name":"anonymous","email":"js.ziggle@gmail.com"}],"homepage":"https://github.com/handsontable/jstat","bugs":{"url":"https://github.com/handsontable/jstat/issues"},"dist":{"shasum":"0cb40e6ee44e2e0188bf047c43551920ae220270","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/@handsontable/jstat/-/jstat-1.0.0.tgz","fileCount":5,"integrity":"sha512-5XxZ9xIk6iSjrc1p5N/yI2dofBXp0IzZVgrkETDC196SxoJCRNOeKgM9fTHMhoxa02wuaZPLp6stojlppNxP/A==","signatures":[{"sig":"MEQCIFI2Gv9PspCQJ9NbLOZDtmZNWITekcNgFXEeq+BUVhOUAiBeWH4X6hRvmATGYZqNkkzirAeWHwQmrwYpiwJBBUzHEg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":195303,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcuaCdCRA9TVsSAnZWagAAxe8QAJavOwEhA/mc8qxentCq\nrEn2fvcsVVxcgH65sMe/IvV3Ia42/05G8l6YZLaokje8k8l8RvzJRQH3LAAa\nnzoUvNEICtEr3YdIzg6jWF3vUfDbxducFtuVR2WmDhO1JDP1MveQvigLAWrC\nUe++iWaY7Dty7lsPKpGuJFzUGGoYpJkamE2bnnXSIEE+wwNoEsYzH+kYgbSW\ne5bZU1aG+UTK4/n2/saYgdpWdFFgsyYlz+kuentUc2Vb04AGD0qTnZT8EEer\noB4P19kT8Z9vK2Bp+eIkk2JQDv/Vht881Z1LqZJ7uE1t3VJkTJrdQqgEMYte\n1h4vOf1GVSR55xyCP1jihMNXLgRxyvwlpCpaPCibLThqmacbaLsM77yk2t0C\nLlaKamdS0lJmCxEQI+bdq7vfkwbAhuG+HEi0i168PH40UrBZMZy8rK77v3Ej\nE1DsS+vdEI3IuP2RcPdPQIAxftj2M5uKKn8o/9JvQVnRrpmG2/IsUibmMzda\nsSUofJAV3qmjwJ6c91z3OloF4Jf1EWoEJs2tnXND/mmyE+TzR3yY3upWEzZc\nxKvLW/b87E0tDNd0eYE/WlWxKPynadfM70wnSMHepL78u1OZ78STaEMrFgVi\n/l6C45d5Q/AhOZlHFIfkH6zG3c9tvDtmdM04Q7AmhD0zEn818JLbqJoyFHab\nWT4G\r\n=NUh6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/jstat.js","gitHead":"7a26b0d1eebd74e9e62aed701ce42cb852b40ef6","scripts":{"all":"make all","doc":"make doc","test":"make test","build":"make core","clean":"make clean","release":"generate-release"},"_npmUser":{"name":"anonymous","email":"budnix+npm@gmail.com"},"repository":{"url":"git+https://github.com/handsontable/jstat.git","type":"git"},"_npmVersion":"6.7.0","description":"Statistical Library for JavaScript","directories":{},"_nodeVersion":"11.14.0","_hasShrinkwrap":false,"devDependencies":{"vows":"^0.8.2","uglify-js":"^3.5.4","generate-release":"^1.1.1"},"_npmOperationalInternal":{"tmp":"tmp/jstat_1.0.0_1555669148499_0.6571186360625445","host":"s3://npm-registry-packages"}}},"name":"@handsontable/jstat","time":{"created":"2019-04-19T10:19:08.334Z","modified":"2025-10-14T08:40:45.738Z","1.0.0":"2019-04-19T10:19:08.652Z"},"readmeFilename":"README.md","homepage":"https://github.com/handsontable/jstat"}