JSPM

Found 472 results for rng

@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.59
  • Published

randomish

You need numbers? We got numbers.

  • v0.1.6
  • 32.30
  • 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.07
  • 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.76
  • Published

randombytes-pure

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

  • v4.1.0
  • 27.58
  • 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.11
  • Published

@stdlib/random-array-normal

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

  • v0.2.1
  • 24.89
  • Published

squirrel-noise

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

  • v1.0.0
  • 24.37
  • Published

bias-random

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

  • v1.0.2
  • 24.29
  • 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.68
    • 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.43
    • 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.43
      • Published

      take-chance

      A JavaScript library to help with various tasks involving randomness.

      • v4.3.2
      • 21.59
      • 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.27
      • Published

      pcg-random

      Implementation of the PCG random number generator for JavaScript

      • v2.0.1
      • 20.61
      • 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.80
      • 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.19
      • Published

      randomcryp

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

      • v2.1.1
      • 18.98
      • 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
      • 17.94
      • Published

      wed

      Wed is a schema-aware editor for XML documents.

      • v4.0.0
      • 17.89
      • Published

      @wedxml/common

      The common infrastructure for code using wed editors.

      • v5.0.0-alpha.1
      • 17.79
      • 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.52
      • Published

      arbitrary

      Efficient Reversible Number Generator

      • v1.4.10
      • 17.32
      • Published

      react-native-openpgp

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

      • v1.0.4
      • 17.29
      • Published

      shuffle-obj-arrays

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

      • v1.0.2
      • 16.08
      • 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.10
      • Published

      @stdlib/random-iter-triangular

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

      • v0.2.1
      • 14.80
      • Published

      @wedxml/base-saver

      The a base class for savers providing some boilerplate.

      • v5.0.0-alpha.1
      • 14.79
      • 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.34
      • Published

      @wedxml/db-saver

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

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

      num-in-delta

      check actual number is expected number ± delta

      • v1.0.10
      • 13.76
      • 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.57
      • Published

      monkerware

      MonkerWare helpers

      • v1.0.3
      • 13.56
      • 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.12
      • 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.10
      • 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

      @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.62
      • Published

      fdrandom

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

      • v3.2.0
      • 11.59
      • 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.43
      • 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.36
      • 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.16
      • 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.45
      • Published

      yurandom

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

      • v1.0.0
      • 10.45
      • Published

      use-rng

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

      • v0.1.25
      • 10.45
      • 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.27
      • Published

      portable-rng

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

      • v0.3.0
      • 10.06
      • Published

      random-entities

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

      • v1.0.9
      • 10.05
      • Published

      pyrand

      Python random module ported to JavaScript

      • v1.1.3
      • 9.85
      • Published

      qranode

      A wrapper for ANUs Quantum RNG API

      • v3.1.0
      • 9.62
      • Published

      @manticorp/gamerng

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

      • v0.3.1
      • 9.62
      • 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

      @stdlib/random-streams-f

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

      • v0.2.1
      • 9.47
      • Published

      uniform-integer

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

      • v1.0.0
      • 9.45
      • Published

      random-esm

      Seedable random number generator supporting many common distributions.

      • v4.2.0
      • 9.27
      • 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.16
      • 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.16
      • Published

      procedural-rng

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

      • v0.0.5
      • 9.16
      • Published

      @stdlib/random-streams-laplace

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

      • v0.2.1
      • 8.99
      • 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.51
      • 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.51
      • 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.08
      • Published

      @stdlib/random-iter-chisquare

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

      • v0.2.1
      • 7.93
      • 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.78
      • 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.45
      • Published

      dicekit-fp

      <DESCRIPTION>

      • v2.4.0
      • 7.31
      • 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.73
      • Published

      @stdlib/random-streams-levy

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

      • v0.2.1
      • 6.73
      • Published

      @wedxml/ajax-saver

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

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

      wed-demo

      A demo for the wed editor.

      • v1.0.0
      • 6.62
      • 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.61
      • 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.48
      • Published

      @stdlib/random-streams-chi

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

      • v0.2.1
      • 6.48
      • 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

      @stdlib/random-streams-arcsine

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

      • v0.2.1
      • 5.68
      • Published

      @stdlib/random-streams-randn

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

      • v0.2.1
      • 5.68
      • Published

      @hicaru/chacharand.js

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

      • v0.0.3
      • 5.68
      • Published

      prdrng

      Pseudo random distribution rng calculator

        • v1.0.4
        • 5.68
        • Published

        jittertrng

        Bindings for Jitterentropy Library - A Hardware RNG based on CPU timing jitter

        • v0.1.0
        • 5.64
        • Published

        @stdlib/random-streams-uniform

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

        • v0.2.1
        • 5.64
        • Published

        @stdlib/random-streams-randu

        Create a readable stream for generating uniformly distributed pseudorandom numbers between 0 and 1.

        • v0.2.1
        • 5.64
        • Published

        @stdlib/random-array-erlang

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

        • v0.2.1
        • 5.64
        • Published

        arc4rand

        a seedable random number generator

        • v0.0.2
        • 4.92
        • Published

        react-generator-component

        rng cli: cli para proyectos con react, react y storybook, creador de componentes

        • v1.1.7
        • 4.92
        • Published

        pokemon-rng

        Pokemon RNG library

        • v0.1.0
        • 4.84
        • Published

        @stdlib/random-iter-t

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

        • v0.2.1
        • 4.84
        • Published

        @stdlib/random-array-gumbel

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

        • v0.2.1
        • 4.82
        • Published

        dosyrng

        tunable 8-bit random number generators that pass PractRand and Dieharder

        • v1.0.3
        • 4.76
        • Published

        hmac-rng

        HMAC-based random number generator.

        • v1.1.0
        • 4.74
        • Published

        @stdlib/random-iter-chi

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

        • v0.2.1
        • 4.74
        • Published

        prnguin

        Pure functions for deterministically generating pseudorandom numbers

        • v0.0.0
        • 4.71
        • Published

        @stdlib/random-iter-betaprime

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

        • v0.2.1
        • 4.71
        • Published

        @stdlib/random-iter-gumbel

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

        • v0.2.1
        • 4.71
        • Published

        @stdlib/random-array-gamma

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

        • v0.2.1
        • 4.71
        • Published

        @stdlib/random-strided-chi

        Fill a strided array with pseudorandom numbers drawn from a chi distribution.

        • v0.1.1
        • 4.71
        • Published

        simple-rng

        Simple RNG that can take a seed

        • v1.2.4
        • 3.72
        • Published

        @stdlib/random-streams-randn-cli

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

        • v0.2.1
        • 3.72
        • Published

        @stdlib/random-streams-normal

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

        • v0.2.1
        • 3.72
        • Published

        @stdlib/random-iter-randi

        Create an iterator for generating pseudorandom numbers having integer values.

        • v0.2.1
        • 3.72
        • Published

        @stdlib/random-array-kumaraswamy

        Create an array containing pseudorandom numbers drawn from Kumaraswamy's double bounded distribution.

        • v0.2.1
        • 3.72
        • Published

        randnum_number_generator

        A lightweight and easy-to-use random number generator for JavaScript. Generate random numbers with customizable ranges, options for integers or floats, and no unnecessary dependencies

        • v1.0.2
        • 3.72
        • Published

        @stdlib/random-array-invgamma

        Create an array containing pseudorandom numbers drawn from an inverse gamma distribution.

        • v0.2.1
        • 3.66
        • Published

        @stdlib/random-iter-minstd

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

        • v0.2.1
        • 3.66
        • Published

        @trinkets/random

        seeded psueudo random number generator

        • v0.0.9
        • 3.66
        • Published

        grandom-umd

        Various UMD builds of a great random number and data generator library.

        • v1.5.0
        • 3.65
        • Published