Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
This is an ES Version of jStat. Support tree-shaking to minimize bundle size.
npm install jstat-esm
# OR
yarn add jstat-esm
Tree-shakable; Whole module: ~50KB Minified, ~18KB Gzipped + Minified.
Same as the original jStat.
// Static functions are exported.
// Only import the function you use!
import {gamma, lognormal, tscore} from 'jstat-esm';
// Import jStat constructor, usage is same as before
// keep in mind that importing the consructor means importing everyhing,
// the budle size for this whole module will be ~50KB without GZIP
import {jStat} from 'jstat-esm';
// or
import jStat from 'jstat-esm';
// Tree shaking on commonjs is limited on webpack. Using ES6 is recommanded.
const {jStat} = require('jstat-esm');
const {gamma, lognormal, tscore} = require('jstat-esm');
<script src="node_modules/jstat-esm/dist/jstat.min.js"></script>
<script>
// jStat is available globally
jStat.zeros(2);
// returns [[0,0],[0,0]]
jStat().ones(2);
// returns jStat([[0,0],[0,0]])
...
</script>
jStat.extend
is removed.FAQs
Statistical Library for JavaScript
The npm package jstat-esm receives a total of 148 weekly downloads. As such, jstat-esm popularity was classified as not popular.
We found that jstat-esm demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.