JSPM

Found 559 results for rng

d3-random

Generate random numbers from various distributions.

  • v3.0.1
  • 92.23
  • Published

scuid

Collision-resistant IDs optimized for horizontal scaling and performance

  • v1.1.0
  • 85.57
  • Published

xorshift

Random number generator using xorshift128+

  • v1.2.0
  • 77.43
  • Published

pcg

A functional typescript implementation of the PCG family random number generators

  • v3.0.0
  • 71.54
  • Published

bigint-crypto-utils

Arbitrary precision modular arithmetic, cryptographically secure random numbers and strong probable prime generation/testing. It works in modern browsers, Angular, React, Node.js, etc. since it uses the native JS implementation of BigInt

  • v3.3.0
  • 66.61
  • Published

random

Seedable random number generator supporting many common distributions.

  • v5.4.1
  • 65.09
  • Published

prando

Deterministic pseudo-random number generator for JavaScript and TypeScript

  • v6.0.1
  • 62.79
  • Published

random-seedable

Fully-fledged collection of both 32 and 64 bit seedable random number generators whose output precisely matches their original c/c++ implementations.

  • v1.0.8
  • 56.39
  • Published

uint-rng

A tiny isomorphic Random Number Generator for generating 1/8/16/32/64-bits unsigned integers.

  • v1.2.1
  • 55.61
  • Published

prng-well1024a

Random number generator based on WELL-1024a algorithm.

  • v2.0.0
  • 51.98
  • Published

@stdlib/random-array-uniform

Create an array containing pseudorandom numbers drawn from a continuous uniform distribution.

  • v0.2.2
  • 50.32
  • Published

rot-js

A roguelike toolkit in JavaScript

  • v2.2.1
  • 48.06
  • Published

park-miller

Park-Miller pseudorandom number generator (PRNG)

  • v2.0.1
  • 46.80
  • Published

@grandom/mt19937

Configurable Mersenne Twister PRNG implementation written in TypeScript.

  • v1.0.6
  • 45.98
  • Published

@grandom/engines

Various RNG engines for the grandom library.

  • v4.0.1
  • 44.23
  • Published

@stdlib/random-tools-binary

Constructor for creating ndarrays filled with pseudorandom values drawn from a binary PRNG.

  • v0.1.1
  • 44.02
  • Published

randoma

User-friendly pseudorandom number generator (PRNG)

  • v2.0.1
  • 43.11
  • Published

@grandom/core

Core package of the grandom library.

  • v3.0.4
  • 42.36
  • Published

@stdlib/random-uniform

Generate pseudorandom numbers drawn from a continuous uniform distribution.

  • v0.1.1
  • 42.22
  • Published

best-random

A replacement for Math.random() that is tiny, fast, seedable, and has good statistical properties.

  • v1.0.3
  • 41.28
  • Published

@stdlib/random-iter-randu

Create an iterator for generating uniformly distributed pseudorandom numbers between 0 and 1.

  • v0.2.2
  • 40.84
  • Published

@bcts/rand

Blockchain Commons Random Number Utilities for TypeScript

  • v1.0.0-beta.5
  • 37.51
  • Published

@stdlib/random-iter-uniform

Create an iterator for generating pseudorandom numbers drawn from a continuous uniform distribution.

  • v0.2.2
  • 37.25
  • Published

fdrandom

Fast deterministic random methods. Includes Uniform, Gaussian, gaming distributions, shuffles and antisort

  • v3.2.0
  • 37.16
  • Published

gp-lite

Tiny GA/GP engine for TypeScript/JS with first-class types, Zod validation, deterministic RNG, and budget-aware runs.

  • v2.4.1
  • 36.20
  • Published

cryptohat

Cryptographically strong, hat-compatible, pseudo-random number generator

  • v1.0.1
  • 36.14
  • Published

rng-kit

Random and pseudo-random number generation lib.

  • v0.5.1
  • 35.88
  • Published

@hicaru/chacharand.js

Pure JavaScript implementation of ChaCha8/12/20 random number generator

  • v0.0.3
  • 35.74
  • Published

@stdlib/random-streams-rayleigh

Create a readable stream for generating pseudorandom numbers drawn from a Rayleigh distribution.

  • v0.2.2
  • 35.63
  • Published

rando-js

Randomization utilities for NodeJS in es6

  • v0.2.0
  • 35.18
  • Published

@stdlib/random-tools-unary

Constructor for creating ndarrays filled with pseudorandom values drawn from a unary PRNG.

  • v0.1.1
  • 32.73
  • Published

salve

Salve is a Javascript library which implements a validator able to validate an XML document on the basis of a subset of RelaxNG.

  • v9.1.2
  • 31.70
  • Published

shuffle-obj-arrays

Shuffles the arrays of the given object (map) using @shuffle-array

  • v1.0.2
  • 31.09
  • Published

randomish

You need numbers? We got numbers.

  • v0.1.6
  • 30.92
  • Published

zipfian-integer

Get an integer between min and max with skew towards either

  • v1.0.1
  • 29.99
  • Published

@constarik/uvs-sdk

Uncloned Verification Standard v3 — provably fair draws (uvLottery), gacha (uvGacha) and games (uvGame)

  • v3.3.0
  • 28.82
  • Published

grandom

Configurable, flexible, and overall great random number and data generator library.

  • v1.5.0
  • 28.23
  • Published

@grandom/weighted

Configurable, flexible, seedable, and overall great weighted randoms.

  • v1.0.5
  • 28.06
  • Published

@grandom/shuffle

A configurable, flexible, seedable, and overall great random shuffler.

  • v1.1.0
  • 27.98
  • Published

@grandom/weighted-umd

Various UMD builds of a great weighted random generator.

  • v1.0.5
  • 27.88
  • Published

@grandom/number

A configurable, flexible, seedable, and overall great random number generator.

  • v1.4.8
  • 27.85
  • Published

@grandom/bigint

A great random bigint generator.

  • v1.2.10
  • 27.74
  • Published

@grandom/pick

A configurable, flexible, seedable, and overall great random picker.

  • v1.4.0
  • 27.67
  • Published

@grandom/string

A configurable, flexible, seedable, and overall great random string generator.

  • v1.2.7
  • 27.67
  • Published

@grandom/boolean

A configurable, flexible, seedable, and overall great random boolean generator.

  • v1.4.7
  • 27.50
  • Published

randombytes-pure

JS-only implementation of randomBytes, intended for use with React Native and other limited runtimes

  • v4.1.0
  • 27.41
  • Published

generate-pw

Randomly generate, strengthen, and validate cryptographically-secure passwords.

  • v2.3.4
  • 27.06
  • Published

@grandom/string-umd

Various UMD builds of a great random string generator.

  • v1.2.7
  • 27.01
  • Published

@grandom/boolean-umd

Various UMD builds of a great random boolean generator.

  • v1.4.7
  • 26.87
  • Published

@wedxml/core

Wed is a schema-aware editor for XML documents.

  • v5.0.0-alpha.1
  • 26.80
  • Published

@stdlib/random-iter-beta

Create an iterator for generating pseudorandom numbers drawn from a beta distribution.

  • v0.2.2
  • 26.76
  • Published

@grandom/number-umd

Various UMD builds of a great random number generator.

  • v1.4.8
  • 26.49
  • Published

salve-annos

A fork with support for documentation of Salve, a Javascript library which implements a validator able to validate an XML document on the basis of a subset of RelaxNG.

  • v1.2.4
  • 26.48
  • Published

random-extra

Seedable random number generator supporting many common distributions.

  • v5.0.2
  • 26.41
  • Published

@stdlib/random-array-normal

Create an array containing pseudorandom numbers drawn from a normal distribution.

  • v0.2.2
  • 26.27
  • Published

@grandom/bigint-umd

Various UMD builds of a great random bigint generator.

  • v1.2.10
  • 26.17
  • Published

pcg-random

Implementation of the PCG random number generator for JavaScript

  • v2.0.1
  • 26.17
  • Published

@grandom/pick-umd

Various UMD builds of a great random picker.

  • v1.4.0
  • 26.13
  • Published

node-rng

A library for generating random numbers with different providers.

  • v0.0.3
  • 26.08
  • Published

@ernisto/rng

rbxts typings for ernisto/rng

  • v1.0.0-rc.3
  • 25.84
  • Published

arbitrary

Efficient Reversible Number Generator

  • v1.4.10
  • 25.58
  • Published

@writegames.com/game-math

A library of useful math classes & functions for game development, involving linear algebra, angles, and more.

  • v0.8.0
  • 25.49
  • Published

@grandom/engines-umd

Various UMD builds of RNG engines for the grandom library.

  • v4.0.1
  • 25.46
  • Published

@stdlib/random-normal

Generate pseudorandom numbers drawn from a normal distribution.

  • v0.1.1
  • 25.35
  • Published

@stdlib/random-array-randu

Create an array containing uniformly distributed pseudorandom numbers between 0 and 1.

  • v0.2.2
  • 25.06
  • Published

@stdlib/random-streams-f

Create a readable stream for generating pseudorandom numbers drawn from an F distribution.

  • v0.2.2
  • 24.01
  • Published

@cwrc/salve-leafwriter

A fork with support for documentation of Salve, a Javascript library which implements a validator able to validate an XML document on the basis of a subset of RelaxNG.

  • v1.2.2
  • 23.83
  • Published

salve-dom

A library for validating DOM trees according to a Relax NG schema.

  • v6.0.1
  • 23.79
  • Published

wed

Wed is a schema-aware editor for XML documents.

  • v4.0.0
  • 23.75
  • Published

@stdlib/random-tools-ternary

Constructor for creating ndarrays filled with pseudorandom values drawn from a ternary PRNG.

  • v0.1.1
  • 23.75
  • Published

randomcryp

A cryptographically secure, feature rich, zero dependency and browser friendly random number generator library.

  • v2.3.0
  • 23.72
  • Published

@modern-dev/jsbn

The jsbn library is a fast, portable implementation of large-number math in pure JavaScript, enabling public-key crypto and other applications on desktop and mobile browsers.

  • v1.2.5
  • 23.72
  • Published

@stdlib/random-streams-improved-ziggurat

Create a readable stream for generating pseudorandom numbers drawn from a standard normal distribution using the Improved Ziggurat algorithm.

  • v0.2.2
  • 23.56
  • Published

take-chance

A JavaScript library to help with various tasks involving randomness.

  • v4.3.2
  • 23.53
  • Published

@zakkster/lite-random

Zero-dependency seeded RNG for games — Mulberry32 PRNG with weighted drops, gaussian distribution, shuffle, and 2D vector helpers.

  • v1.1.0
  • 23.51
  • Published

@stdlib/random-streams-minstd-cli

Create a readable stream for a linear congruential pseudorandom number generator (LCG) based on Park and Miller.

  • v0.2.2
  • 23.45
  • Published

secure-rng

Generating secure random numbers.

  • v1.0.11
  • 23.39
  • Published

brng

Biased random number generator

  • v1.13.0
  • 23.35
  • Published

extended-random

A small collection of functions aiming at extending the possibilities of your RNG

  • v1.2.2
  • 23.28
  • Published

@stdlib/random-streams-laplace

Create a readable stream for generating pseudorandom numbers drawn from a Laplace (double exponential) distribution.

  • v0.2.2
  • 23.23
  • Published

@stdlib/random-streams-uniform

Create a readable stream for generating pseudorandom numbers drawn from a uniform distribution.

  • v0.2.2
  • 23.20
  • Published

@stdlib/random-iter-mt19937

Create an iterator for a 32-bit Mersenne Twister pseudorandom number generator.

  • v0.2.2
  • 23.17
  • Published

@stdlib/random-streams-normal

Create a readable stream for generating pseudorandom numbers drawn from a normal distribution.

  • v0.2.2
  • 23.14
  • Published

@stdlib/random-iter-box-muller

Create an iterator for generating pseudorandom numbers drawn from a standard normal distribution using the Box-Muller transform.

  • v0.2.2
  • 23.03
  • Published

@stdlib/random-streams-box-muller

Create a readable stream for generating pseudorandom numbers drawn from a standard normal distribution using the Box-Muller transform.

  • v0.2.2
  • 23.00
  • Published

@arkv/rng

Fastest, zero-dependency, pseudo-RNG in node and browser environments, with support for cryptographic randomness and seedable PRNG.

  • v0.7.2
  • 23.00
  • Published

@stdlib/random-iter-lognormal

Create an iterator for generating pseudorandom numbers drawn from a lognormal distribution.

  • v0.2.2
  • 22.84
  • Published

@stdlib/random-iter-bernoulli

Create an iterator for generating pseudorandom numbers drawn from a Bernoulli distribution.

  • v0.2.2
  • 22.81
  • Published

@stdlib/random-iter-binomial

Create an iterator for generating pseudorandom numbers drawn from a binomial distribution.

  • v0.2.2
  • 22.78
  • Published

@stdlib/random-streams-gamma

Create a readable stream for generating pseudorandom numbers drawn from a gamma distribution.

  • v0.2.2
  • 22.78
  • Published

@stdlib/random-streams-weibull

Create a readable stream for generating pseudorandom numbers drawn from a Weibull distribution.

  • v0.2.2
  • 22.73
  • Published

@wedxml/base-saver

The a base class for savers providing some boilerplate.

  • v5.0.0-alpha.1
  • 22.72
  • Published

@stdlib/random-streams-logistic

Create a readable stream for generating pseudorandom numbers drawn from a logistic distribution.

  • v0.2.2
  • 22.69
  • Published

@stdlib/random-iter-minstd

Create an iterator for a linear congruential pseudorandom number generator (LCG) based on Park and Miller.

  • v0.2.2
  • 22.60
  • Published

@stdlib/random-streams-gumbel

Create a readable stream for generating pseudorandom numbers drawn from a Gumbel distribution.

  • v0.2.2
  • 22.47
  • Published

@stdlib/random-streams-randn

Create a readable stream for generating pseudorandom numbers drawn from a standard normal distribution.

  • v0.2.2
  • 22.46
  • Published

@stdlib/random-iter-randn

Create an iterator for generating pseudorandom numbers drawn from a standard normal distribution.

  • v0.2.2
  • 22.44
  • Published

@wedxml/ajax-saver

A saver for wed that uses an AJAX-based protocol to save.

  • v5.0.0-alpha.1
  • 22.40
  • Published

@stdlib/random-streams-arcsine

Create a readable stream for generating pseudorandom numbers drawn from an arcsine distribution.

  • v0.2.2
  • 22.38
  • Published

@stdlib/random-streams-randi

Create a readable stream for generating pseudorandom numbers having integer values.

  • v0.2.2
  • 22.34
  • Published

squirrel-noise

A typescript implementation of Squirrel Eiserloh's noise based RNG explained at GDC

  • v1.0.0
  • 22.32
  • Published

hash-maker

A collection of hash and number generators for Node or Browser

  • v1.0.13
  • 22.32
  • Published

@wedxml/db-saver

A saver for wed that uses a DB backend to save.

  • v5.0.0-alpha.1
  • 22.32
  • Published

@stdlib/random-streams-minstd

Create a readable stream for a linear congruential pseudorandom number generator (LCG) based on Park and Miller.

  • v0.2.2
  • 22.30
  • Published

@stdlib/random-iter-randi

Create an iterator for generating pseudorandom numbers having integer values.

  • v0.2.2
  • 22.24
  • Published

@stdlib/random-iter-t

Create an iterator for generating pseudorandom numbers drawn from a Student's t distribution.

  • v0.2.2
  • 22.23
  • Published

@stdlib/random-streams-t

Create a readable stream for generating pseudorandom numbers drawn from a Student's t distribution.

  • v0.2.2
  • 22.18
  • Published

sodium-uuid

Generate v4 UUIDs using libsodium's RNG

  • v2.0.0
  • 22.17
  • Published

@stdlib/random-iter-normal

Create an iterator for generating pseudorandom numbers drawn from a normal distribution.

  • v0.2.2
  • 22.16
  • Published

@stdlib/random-iter-f

Create an iterator for generating pseudorandom numbers drawn from an F distribution.

  • v0.2.2
  • 22.15
  • Published

@stdlib/random-streams-frechet

Create a readable stream for generating pseudorandom numbers drawn from a Fréchet distribution.

  • v0.2.2
  • 22.15
  • Published

@stdlib/random-streams-levy

Create a readable stream for generating pseudorandom numbers drawn from a Lévy distribution.

  • v0.2.2
  • 22.14
  • Published

@stdlib/random-streams-binomial

Create a readable stream for generating pseudorandom numbers drawn from a binomial distribution.

  • v0.2.2
  • 22.08
  • Published

@stdlib/random-array-minstd-shuffle

Create an array containing pseudorandom numbers generated using a linear congruential pseudorandom number generator (LCG) whose output is shuffled.

  • v0.2.2
  • 22.04
  • Published

@stdlib/random-iter-chisquare

Create an iterator for generating pseudorandom numbers drawn from a chi-square distribution.

  • v0.2.2
  • 22.03
  • Published

@stdlib/random-streams-beta

Create a readable stream for generating pseudorandom numbers drawn from a beta distribution.

  • v0.3.2
  • 22.02
  • Published

@stdlib/random-streams-cosine

Create a readable stream for generating pseudorandom numbers drawn from a raised cosine distribution.

  • v0.2.2
  • 21.94
  • Published

@stdlib/random-iter-chi

Create an iterator for generating pseudorandom numbers drawn from a chi distribution.

  • v0.2.2
  • 21.94
  • Published

@stdlib/random-iter-invgamma

Create an iterator for generating pseudorandom numbers drawn from an inverse gamma distribution.

  • v0.2.2
  • 21.93
  • Published

@stdlib/random-iter-betaprime

Create an iterator for generating pseudorandom numbers drawn from a beta prime distribution.

  • v0.2.2
  • 21.93
  • Published

@stdlib/random-iter-levy

Create an iterator for generating pseudorandom numbers drawn from a Lévy distribution.

  • v0.2.2
  • 21.89
  • Published

@wedxml/build

A builder for producing custom wed bundles.

  • v5.0.0-alpha.7
  • 21.89
  • Published

@stdlib/random-iter-geometric

Create an iterator for generating pseudorandom numbers drawn from a geometric distribution.

  • v0.2.2
  • 21.81
  • Published

@stdlib/random-streams-kumaraswamy

Create a readable stream for generating pseudorandom numbers drawn from a Kumaraswamy's double bounded distribution.

  • v0.2.2
  • 21.81
  • Published

@stdlib/random-streams-poisson

Create a readable stream for generating pseudorandom numbers drawn from a Poisson distribution.

  • v0.2.2
  • 21.79
  • Published

@stdlib/random-iter-laplace

Create an iterator for generating pseudorandom numbers drawn from a Laplace distribution.

  • v0.2.2
  • 21.79
  • Published

@stdlib/random-iter-cosine

Create an iterator for generating pseudorandom numbers drawn from a raised cosine distribution.

  • v0.2.2
  • 21.76
  • Published

@stdlib/random-iter-triangular

Create an iterator for generating pseudorandom numbers drawn from a triangular distribution.

  • v0.2.2
  • 21.66
  • Published

@stdlib/random-iter-improved-ziggurat

Create an iterator for generating pseudorandom numbers drawn from a standard normal distribution using the Improved Ziggurat algorithm.

  • v0.2.2
  • 21.64
  • Published

@stdlib/random-iter-rayleigh

Create an iterator for generating pseudorandom numbers drawn from a Rayleigh distribution.

  • v0.2.2
  • 21.64
  • Published

@stdlib/random-iter-erlang

Create an iterator for generating pseudorandom numbers drawn from an Erlang distribution.

  • v0.2.2
  • 21.59
  • Published

bigint-secrets

Cryptographically secure random numbers and prime generation/testing using native JS (stage 3) implementation of BigInt

  • v1.2.5
  • 21.59
  • Published

@stdlib/random-streams-cauchy

Create a readable stream for generating pseudorandom numbers drawn from a Cauchy distribution.

  • v0.2.2
  • 21.59
  • Published

@stdlib/random-streams-chi

Create a readable stream for generating pseudorandom numbers drawn from a chi distribution.

  • v0.2.2
  • 21.57
  • Published

@wedxml/common

The common infrastructure for code using wed editors.

  • v5.0.0-alpha.1
  • 21.56
  • Published

@stdlib/random-iter-gumbel

Create an iterator for generating pseudorandom numbers drawn from a Gumbel distribution.

  • v0.2.2
  • 21.48
  • Published

@wedxml/client-api

The API for code using wed editors ("client code").

  • v5.0.0-alpha.1
  • 21.48
  • Published