A weighted random item sampler (selector), where the probability of selecting an item is proportional to its weight, and every item is sampled exactly once (without repetition or replacement). The sampling method utilizes a binary-search optimization, mak
Tool for generation samples based on OpenAPI payload/response schema
A random weighted item chooser with custom seed option for JavaScript and TypeScript.
Tool for generation samples based on JSON Schema Draft 7
A Node.js module for efficient sampling from a discrete probability distribution using the alias method.
Typical random-related functions for JavaScript.
Generate a random integer
Useful TypeScript utilities.
Composite samplers for OpenTelemetry tracing
Sample addresses to figure out if a host + port is consistent
Get a KeyboardEvent.key-style string from an event
[](https://codeclimate.com/github/NeuraLegion/har-sdk/maintainability) [
Pseudo-random number generators w/ unified API, distributions, weighted choices, ID generation
Node.js module to make a random choice among weighted elements of table.
D3 plugin which computes a Weighted Voronoi tesselation
Convert a string to a valid safe filename
Balena specific semver utility methods
Produce a random integer based on weights
Get a random item from an array
Get consecutively unique elements from an array
math-random is an isomorphic, drop-in replacement for `Math.random` that uses cryptographically secure random number generation, where available
Generate a unique random string
A dead-simple module for picking a random item with weights.