Skip to content
JS
Package

@keystonehq/alias-sampling

A Node.js module for efficient sampling from a discrete probability distribution using the alias method.

v0.1.2, 3 Mar 2024MITESM + CommonJSTypes: BundledNumbers and maths
$ npm install @keystonehq/alias-sampling

Key numbers

As of 25 Sept 2026
Weekly downloads
137k
- over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
2 years ago
v0.1.2
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

No weekly download data in the snapshot.

137,001 downloads last week, 589,084 in the last month. No 52-week series has been fetched yet.

Releases, last 12 months
-
Latest version
0.1.2, 3 Mar 20242 years ago
First published
-
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
1

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
10 kB
Dependencies (0)
None
npm install @keystonehq/alias-sampling
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@keystonehq/alias-sampling@0.1.2/
  • unpkghttps://unpkg.com/@keystonehq/alias-sampling@0.1.2/
  • esm.shhttps://esm.sh/@keystonehq/alias-sampling@0.1.2
Sources: npm registry. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): GitHub data not fetched yet.