reservoirkit
MITZero-dependency reservoir sampling for TypeScript: Algorithm L (Vitter), weighted sampling, Fisher-Yates shuffle, stream sampling. Port of Python random.sample on iterables.
100
Security score
0 known advisories in v0.1.0
Weekly downloads
—
Unpacked size
50.1 kB
Dependencies
0
Last publish
2 months ago
Security advisories
No known vulnerabilities affect v0.1.0.