Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/albasyir/statistic.js
Faster statistic module for all you need
https://github.com/albasyir/statistic.js
Last synced: 13 days ago
JSON representation
Faster statistic module for all you need
- Host: GitHub
- URL: https://github.com/albasyir/statistic.js
- Owner: albasyir
- Created: 2020-03-07T14:20:01.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-01T01:02:51.000Z (almost 5 years ago)
- Last Synced: 2024-04-24T00:31:40.448Z (9 months ago)
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/statistic
- Size: 90.8 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# statistic.js
a reduce function that calculates mean for standard deviation and other neededFirst, install the `statistic.js` module, using `npm install statistic`, then include the code with require or import:
* **When you use `require`**, you have the freedom to assign the module to any variable name you want, but you need to specify the module's name exactly:
in this case, 'statistic'. The `require` method returns an object
with all of the module's methods attached to it.
var { Statistic } = require('statistic')
* **When you use `import`** to use modules in my project. I'm probably using Babel, `@std/esm`, Webpack, or Rollup.
Include a specific named export:import { Statistic } from 'statistic'