Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

README

        

# statistic.js
a reduce function that calculates mean for standard deviation and other needed

First, 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'