
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Statistics for n00bs. Tastefully done. You're welcome.
A simple Javascript library for statistical analysis
npm:npm install statestes
var statestes = require('statestes').statestes;
yarn:yarn add statestes
var statestes = require('statestes').statestes;
Copy statestes.min.js from dist/statestes.min.js to a lib folder.
<script src="lib/statestes.min.js"></script>
This will expose a statestes variable which you can access the functions from.
Coming soon.
Just reference a function using the dot notation.
For example, to use the sum function, you can do:
statestes.sum([1, 2, 3]); // 6
This project has no dependencies.
The dev prerequisites for this project are:
To start developing, run:
git clone https://github.com/johnpaulada/statestes.git
cd your-project/
yarn
This will:
To build the project, run:
npm start
This command will build the code to dist/statestes.min.js.
Each change to the code will rebuild the code.
I use Jest to test this library. To run the tests, run:
npm test
These tests test the main statistical functions.
MIT
FAQs
A simple javascript statistics library. Statistics for n00bz.
We found that statestes demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.