New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

poissonsamples

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

poissonsamples

A small module to get samples from lambda distribution

latest
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

A small library to return a sample from the lambda distribution.

Usage:

const poissonSample = require("poissonsamples");

console.log(poissonSample.getSample(1000));

It uses jStat library for lambda less than 10, and for more than 10, it uses Rejection method, described in this paper. There is no limit on how big or small lambda can be.

Keywords

Lambda

FAQs

Package last updated on 05 Aug 2019

Did you know?

Socket

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.

Install

Related posts