JSPM

Found 472 results for rng

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
  • 48.50
  • Published

mersennetwister

A standalone, pure JavaScript implementation of the Mersenne Twister pseudo random number generator. Compatible with Node.js, requirejs and browser environments.

  • v0.2.3
  • 47.73
  • Published

park-miller

Park-Miller pseudorandom number generator (PRNG)

  • v2.0.0
  • 46.96
  • Published

prng-well1024a

Random number generator based on WELL-1024a algorithm.

  • v2.0.0
  • 46.53
  • Published

randoma

User-friendly pseudorandom number generator (PRNG)

  • v2.0.0
  • 45.79
  • Published

@grandom/engines

Various RNG engines for the grandom library.

  • v4.0.1
  • 45.10
  • Published

@stdlib/random-array-uniform

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

  • v0.2.1
  • 40.85
  • Published

cryptohat

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

  • v1.0.1
  • 39.92
  • Published

best-random

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

  • v1.0.3
  • 39.67
  • Published

rot-js

A roguelike toolkit in JavaScript

  • v2.2.1
  • 39.16
  • Published

@grandom/mt19937

Configurable Mersenne Twister PRNG implementation written in TypeScript.

  • v1.0.6
  • 35.77
  • Published

@grandom/core

Core package of the grandom library.

  • v3.0.4
  • 35.09
  • Published

@grandom/bigint

A great random bigint generator.

  • v1.2.10
  • 35.07
  • 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
  • 34.26
  • Published

@grandom/weighted

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

  • v1.0.5
  • 34.00
  • Published

@grandom/bigint-umd

Various UMD builds of a great random bigint generator.

  • v1.2.10
  • 33.92
  • Published

@grandom/boolean

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

  • v1.4.7
  • 33.84
  • Published

@grandom/pick-umd

Various UMD builds of a great random picker.

  • v1.4.0
  • 33.79
  • Published

@grandom/number-umd

Various UMD builds of a great random number generator.

  • v1.4.8
  • 33.78
  • Published

@grandom/number

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

  • v1.4.8
  • 33.48
  • Published

grandom

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

  • v1.5.0
  • 33.36
  • Published

@grandom/weighted-umd

Various UMD builds of a great weighted random generator.

  • v1.0.5
  • 33.35
  • Published

@grandom/shuffle

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

  • v1.1.0
  • 33.19
  • Published

@grandom/string-umd

Various UMD builds of a great random string generator.

  • v1.2.7
  • 33.16
  • Published

@grandom/string

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

  • v1.2.7
  • 32.82
  • Published

@grandom/pick

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

  • v1.4.0
  • 32.80
  • Published

@grandom/boolean-umd

Various UMD builds of a great random boolean generator.

  • v1.4.7
  • 32.76
  • Published

@grandom/engines-umd

Various UMD builds of RNG engines for the grandom library.

  • v4.0.1
  • 32.65
  • Published

randomish

You need numbers? We got numbers.

  • v0.1.6
  • 32.29
  • Published

mangata-prng-xoshiro

JavaScript implementation of the xoshiro deterministic family of PRNGs (pseudorandom number generators). Written in pure JS, and works on node.js as well as browsers.

  • v3.0.0
  • 30.67
  • Published

safe-rng

SafeRNG is a JavaScript library for generating provably fair numbers in online gambling and betting applications. It provides a set of functions for generating integers, floats, and dice rolls, as well as utility functions for combining seeds and hashing

  • v1.0.4
  • 28.04
  • Published

prng-xoshiro

JavaScript implementation of the xoshiro deterministic family of PRNGs (pseudorandom number generators). Written in pure JS, and works on node.js as well as browsers.

  • v1.0.1
  • 27.83
  • Published

randombytes-pure

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

  • v4.1.0
  • 27.57
  • Published

salve-dom

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

  • v6.0.1
  • 26.42
  • Published

@stdlib/random-iter-randu

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

  • v0.2.1
  • 25.30
  • Published

@stdlib/random-iter-uniform

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

  • v0.2.1
  • 25.02
  • Published

@stdlib/random-array-normal

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

  • v0.2.1
  • 24.89
  • Published

bias-random

Generates biased random numbers with a customizable bias level, direction, and range

  • v1.0.2
  • 24.37
  • Published

squirrel-noise

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

  • v1.0.0
  • 24.34
  • Published

@trap_stevo/rng

Unleash beautifully deterministic randomness with a seedable generator crafted for developers, artists, game designers, and procedural creators. Whether forging alien worlds, generating dynamic narratives, or craving control over chaos, this tool delivers

    • v0.0.2
    • 23.73
    • 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
    • 23.67
    • Published

    random-extra

    Seedable random number generator supporting many common distributions.

    • v5.0.2
    • 23.42
    • Published

    extended-random

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

    • v1.2.2
    • 23.37
    • Published

    @stdlib/random-iter-beta

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

    • v0.2.1
    • 22.50
    • Published

    @arrng/contracts

    arrng solidity contracts package

      • v1.3.0
      • 22.47
      • Published

      take-chance

      A JavaScript library to help with various tasks involving randomness.

      • v4.3.2
      • 21.63
      • Published

      secure-rng

      Generating secure random numbers.

      • v1.0.11
      • 21.54
      • Published

      @wedxml/core

      Wed is a schema-aware editor for XML documents.

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

      pcg-random

      Implementation of the PCG random number generator for JavaScript

      • v2.0.1
      • 20.59
      • Published

      spadille

      Verifiable/deterministic fair tickets generation for lotteries, raffles and gambling games.

      • v0.0.3
      • 19.97
      • Published

      rot-esm

      A roguelike toolkit in JavaScript

      • v2.2.1
      • 19.84
      • Published

      area51

      Experimental prototypes of alien things built in JavaScript. The bits may end up living in a different package.

      • v0.1.0-alpha1
      • 19.66
      • Published

      randtools

      Generate random numbers with different distributions

      • v1.2.0
      • 19.25
      • Published

      randomcryp

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

      • v2.1.1
      • 19.04
      • Published

      zipfian-integer

      Get an integer between min and max with skew towards either

      • v1.0.1
      • 18.10
      • 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
      • 18.00
      • Published

      wed

      Wed is a schema-aware editor for XML documents.

      • v4.0.0
      • 17.87
      • Published

      @wedxml/common

      The common infrastructure for code using wed editors.

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

      sodium-uuid

      Generate v4 UUIDs using libsodium's RNG

      • v2.0.0
      • 17.60
      • Published

      hash-maker

      A collection of hash and number generators for Node or Browser

      • v1.0.13
      • 17.46
      • Published

      react-native-openpgp

      React-Native OpenPGP is an OpenPGP.js implementation made to work under React-Native.

      • v1.0.4
      • 17.35
      • Published

      arbitrary

      Efficient Reversible Number Generator

      • v1.4.10
      • 17.27
      • Published

      shuffle-obj-arrays

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

      • v1.0.2
      • 16.20
      • Published

      @stdlib/random-iter-lognormal

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

      • v0.2.1
      • 15.51
      • Published

      @wedxml/build

      A builder for producing custom wed bundles.

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

      @wedxml/base-saver

      The a base class for savers providing some boilerplate.

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

      @stdlib/random-iter-triangular

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

      • v0.2.1
      • 14.83
      • Published

      well-rng

      Lightweight, fast implementation of the WELL-1024a PRNG

      • v1.0.1
      • 14.55
      • Published

      @stdlib/random-iter-normal

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

      • v0.2.1
      • 14.37
      • Published

      @wedxml/db-saver

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

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

      num-in-delta

      check actual number is expected number ± delta

      • v1.0.10
      • 13.71
      • 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
      • 13.60
      • Published

      monkerware

      MonkerWare helpers

      • v1.0.3
      • 13.55
      • Published

      @roninjjj/randomize

      Easily include random number generation in your projects. Whether if it's a 2 item 50/50, or a 20 item lootbox, all you need is a simple object!

      • v1.0.1
      • 12.37
      • Published

      @stdlib/random-strided-minstd

      Fill a strided array with pseudorandom numbers generated using a linear congruential pseudorandom number generator (LCG).

      • v0.2.1
      • 12.12
      • Published

      rando-js

      Randomization utilities for NodeJS in es6

      • v0.2.0
      • 12.07
      • Published

      @orao-network/fuel-vrf

      ORAO VRF SDK Verifiable Random Function for the Fuel Network

      • v0.2.11
      • 12.07
      • Published

      fdrandom

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

      • v3.2.0
      • 11.63
      • Published

      @stdlib/random-streams-box-muller-cli

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

      • v0.2.1
      • 11.58
      • Published

      @stdlib/random-streams-minstd

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

      • v0.2.1
      • 11.42
      • 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.1
      • 11.38
      • 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.1
      • 11.15
      • Published

      @stdlib/random-array-f

      Create an array containing pseudorandom numbers drawn from an F distribution.

      • v0.2.1
      • 11.13
      • 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.1
      • 10.48
      • Published

      @stdlib/random-iter-f

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

      • v0.2.1
      • 10.44
      • Published

      yurandom

      Deterministic seed-based random generator using Xoroshiro128+. Useful for avatars, testing, procedural content, and more.

      • v1.0.0
      • 10.44
      • Published

      use-rng

      A deterministic random number generator library with React hook and standalone implementations

      • v0.1.25
      • 10.44
      • Published

      @stdlib/random-strided-minstd-shuffle

      Fill a strided array with pseudorandom numbers generated using a linear congruential pseudorandom number generator (LCG) whose output is shuffled.

      • v0.2.1
      • 10.30
      • Published

      portable-rng

      Simple, node/browser compatible Alea RNG generator from http://baagoe.com/en/RandomMusings/javascript/

      • v0.3.0
      • 10.08
      • Published

      random-entities

      Randomization utilities in Node or the browser. About as random as you can get natively.

      • v1.0.9
      • 10.04
      • Published

      pyrand

      Python random module ported to JavaScript

      • v1.1.3
      • 9.85
      • Published

      @stdlib/random-array-cauchy

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

      • v0.2.1
      • 9.61
      • Published

      xoshiro128

      A fast, seedable, non-cryptographic random number generator.

      • v0.1.0
      • 9.61
      • Published

      qranode

      A wrapper for ANUs Quantum RNG API

      • v3.1.0
      • 9.61
      • Published

      @manticorp/gamerng

      The most powerful RNG in the world for game use - flexible, performant, seedable, serializable, reliable.

      • v0.3.1
      • 9.61
      • Published

      uniform-integer

      Get an integer between a min and max, bring your own random number generator.

      • v1.0.0
      • 9.48
      • Published

      @stdlib/random-streams-f

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

      • v0.2.1
      • 9.44
      • Published

      random-esm

      Seedable random number generator supporting many common distributions.

      • v4.2.0
      • 9.28
      • Published

      dnd-generator

      A system for generating random D&D 5E information

      • v1.2.0
      • 9.20
      • Published

      @gouvernathor/rng

      A deterministic and reseedable random number generator, resembling (but not with the same API as) Python's Random.

      • v1.2.1
      • 9.18
      • 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.1
      • 9.18
      • Published

      procedural-rng

      A collection of procedural random number generators (prng) written in TypeScript

      • v0.0.5
      • 9.18
      • Published

      @stdlib/random-streams-laplace

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

      • v0.2.1
      • 9.02
      • Published

      @wedxml/client-api

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

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

      random-cjs

      Seedable random number generator supporting many common distributions.

      • v4.1.2
      • 8.48
      • 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.1
      • 8.48
      • Published

      tspersistentprng

      Persistent CMWC4096 PRNG implementation for TS

      • v0.4.2
      • 8.26
      • Published

      @stdlib/random-strided-mt19937

      Fill a strided array with pseudorandom numbers generated using a 32-bit Mersenne Twister pseudorandom number generator.

      • v0.2.1
      • 8.26
      • Published

      @stdlib/random-streams-kumaraswamy

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

      • v0.2.1
      • 8.10
      • Published

      @stdlib/random-iter-chisquare

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

      • v0.2.1
      • 7.96
      • Published

      brng

      Biased random number generator

      • v1.13.0
      • 7.82
      • Published

      @stdlib/random-streams-cosine

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

      • v0.2.1
      • 7.79
      • Published

      mtrand-node

      A node module to expose a C++ implementation of the Mersenne Twister Random Number Generator

      • v0.0.2
      • 7.72
      • Published

      @stdlib/random-streams-f-cli

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

      • v0.2.1
      • 7.72
      • Published

      @stdlib/random-streams-invgamma

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

      • v0.2.1
      • 7.72
      • Published

      @stdlib/random-iter-randn

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

      • v0.2.1
      • 7.47
      • Published

      dicekit-fp

      <DESCRIPTION>

      • v2.4.0
      • 7.34
      • Published

      weighted-rng

      A weighted RNG for nodejs

      • v2.0.3
      • 7.29
      • Published

      @stdlib/random-array-randu

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

      • v0.2.1
      • 6.75
      • Published

      @stdlib/random-streams-levy

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

      • v0.2.1
      • 6.75
      • Published

      randm

      Easy to use JS random generator for generating random numbers, dice rolls, dates etc... Small footprint (<1Kb gzipped) library with Typescript support that can be used in a browser or node environment.

      • v1.7.0
      • 6.63
      • Published

      @wedxml/ajax-saver

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

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

      wed-demo

      A demo for the wed editor.

      • v1.0.0
      • 6.60
      • Published

      @stdlib/random-streams-cauchy

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

      • v0.2.1
      • 6.51
      • Published

      deadbeef-rand

      A simple, seed-able pseudo-random number generator (PRNG).

      • v1.0.1
      • 6.49
      • Published

      @stdlib/random-streams-chi

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

      • v0.2.1
      • 6.49
      • Published

      @2bad/dice

      Utility library to compute dice rolls

      • v0.0.3
      • 6.43
      • Published

      @stdlib/random-streams-t

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

      • v0.2.1
      • 6.43
      • Published

      @stdlib/random-array-mt19937

      Create an array containing pseudorandom numbers generated using a 32-bit Mersenne Twister pseudorandom number generator.

      • v0.2.1
      • 6.43
      • Published

      @stdlib/random-streams-beta

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

      • v0.3.1
      • 6.43
      • Published

      lcg-random

      (Predictable) LCG Random Number Generator

      • v2.0.0
      • 6.43
      • Published

      @repraze/rnd

      Simple randomizer library

      • v0.0.2
      • 6.43
      • Published

      rng-ts

      Random Number Generator in Typescript

      • v1.0.5
      • 5.71
      • Published

      @stdlib/random-iter-weibull

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

      • v0.2.1
      • 5.71
      • Published

      node-java-random

      Complete implementation of java.util.random in C++ and Node.js

      • v0.1.0
      • 5.71
      • Published