JSPM

Found 6871 results for random numbers

d3-random

Generate random numbers from various distributions.

  • v3.0.1
  • 350.68
  • Published

csprng

Secure random numbers of any size in any base

  • v0.1.2
  • 279.16
  • Published

unique-random

Generate random numbers that are consecutively unique

  • v4.0.0
  • 252.82
  • Published

random-number

Generate pseudo-randum numbers

  • v0.0.9
  • 215.99
  • Published

rand-seed

A small library for generating random numbers

  • v3.0.0
  • 206.80
  • Published

uniqolor

Generate unique and beautiful colors from any texts or numbers

  • v1.1.1
  • 204.90
  • Published

number-generator

Generate repeatable pseudo random numbers and non-cryptographic hash numbers for usage in Node.js and browser environments.

  • v4.0.6
  • 204.71
  • Published

random-number-csprng

A cryptographically secure generator for random numbers in a range.

  • v1.0.2
  • 199.16
  • Published

mtwist

Mersenne Twister random numbers

  • v1.0.2
  • 175.08
  • Published

mersenne

A node.js module for generating high-quality Mersenne Twister random numbers.

  • v0.0.4
  • 173.60
  • Published

random.js

random numbers and string generation

  • v0.1.0
  • 165.57
  • 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
  • 164.98
  • Published

identification-numbers

Provides utility methods to validate and generate various identification numbers such as NIP, REGON, PESEL, etc.

  • v0.0.7
  • 151.82
  • Published

numbers-logic

Tools used to understand or work with numbers in Node.JS, Javascript and derivatives.

  • v1.4.6
  • 150.23
  • Published

@stdlib/random-array-uniform

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

  • v0.2.1
  • 146.57
  • Published

randomish

You need numbers? We got numbers.

  • v0.1.6
  • 144.87
  • Published

random-org

Truly random numbers via Random.org's json-rpc api

  • v2.2.0
  • 142.24
  • Published

gerar-cpf

Generate random Brazilian CPF document numbers.

  • v3.1.0
  • 138.76
  • Published

random-seed-generator

Random generator for strings, secrets and numbers – with built in crypto module and seed generation for predictable outputs

  • v0.0.7
  • 137.47
  • Published

random-ext

Generates random strings, numbers, dates, arrays, objects, booleans etc

  • v2.8.0
  • 120.41
  • Published

test-nino

The fastest NINO (UK National Insurance number) generator and validator. Generates and validates UK NI numbers to NIM39110 specifications on Gov.uk.

  • v2.0.1
  • 118.06
  • Published

@alwatr/random

A lightweight utility library for generating random numbers, strings, UUIDs and more

  • v5.1.14
  • 116.97
  • Published

meaningful-string

This is going to provide the random meaningful string using animal names followed by adjective followed by numbers. Additional to that, you can generate random shortId using custom options

  • v1.4.0
  • 116.36
  • Published

@tsdotnet/random

A utility for simplifying generating random numbers and shuffling arrays.

  • v1.1.7
  • 115.96
  • Published

unique-random-range

Generate unique random numbers, for a given range.

  • v1.0.8
  • 111.66
  • Published

crypto-shuffle

Cryptographically secure shuffle using the Fisher-Yates algorithm. The browser's (or NodeJS) crypto services are used to generate strong random numbers.

  • v1.0.1
  • 106.92
  • Published

unirand

Random numbers and Distributions generation

  • v2.12.2
  • 104.08
  • Published

randomf

Random numbers in a finite field

  • v0.0.3
  • 103.20
  • Published

prob.js

Generate random numbers from different probability distributions.

  • v1.0.6
  • 102.40
  • Published

random-all

Generates random numbers, unique random numbers.

  • v1.1.0
  • 102.38
  • Published

pure-random-number

A cryptographically secure generator for random numbers in a range.

  • v3.2.1
  • 99.83
  • Published

id-16

Create random id's and numbers in base 16!

  • v1.0.5
  • 99.72
  • Published

@skhatri/generator-mcp

MCP (Model Context Protocol) server for generating random UUIDs, numbers, and strings

  • v0.7.0
  • 99.58
  • Published

keymask

Map sequential IDs or serial numbers to random-looking strings

  • v0.10.1
  • 99.08
  • Published

bias-random

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

  • v1.0.2
  • 96.64
  • Published

secure-rng

Generating secure random numbers.

  • v1.0.11
  • 94.58
  • Published

@stdlib/random-array-normal

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

  • v0.2.1
  • 92.85
  • Published

mcp-rand

MCP server providing random generation utilities including UUID, numbers, strings, passwords, Gaussian distribution, dice rolling, and card drawing

    • v0.2.1
    • 90.75
    • Published

    random-array

    Create array with random numbers

    • v0.0.2
    • 88.56
    • Published

    @se-oss/rand

    A utility library for generating random strings, numbers and UUIDs.

    • v1.1.0
    • 86.89
    • Published

    @stdlib/random-iter-uniform

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

    • v0.2.1
    • 86.72
    • Published

    pseudo-random.js

    Library for generating pseudo-random numbers.

    • v1.3.4
    • 86.31
    • Published

    randtools

    Generate random numbers with different distributions

    • v1.2.0
    • 83.93
    • Published

    chance

    Chance - Utility library to generate anything random

    • v1.1.13
    • 83.67
    • Published

    implausible

    Generate pseudorandom numbers and sample probability distributions with optional seed and choice of algorithm.

    • v3.1.1
    • 83.22
    • Published

    duct-generate-password

    A utility function to generate secure random passwords of a specified length, including uppercase, lowercase, numbers, and special characters.

    • v1.0.0
    • 83.14
    • Published

    @stdlib/random-iter-randu

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

    • v0.2.1
    • 82.89
    • Published

    unique-random-at-depth

    Generate random numbers that are consecutively unique at a provided depth

    • v1.0.0
    • 81.18
    • Published

    @stdlib/random-iter-beta

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

    • v0.2.1
    • 80.65
    • Published

    random-js

    A mathematically correct random number generator library for JavaScript.

    • v2.1.0
    • 77.07
    • Published

    short-unique-id

    Generate random or sequential UUID of any length

    • v5.3.2
    • 74.62
    • Published

    random-bytes-numbers

    Generate random bytes and numbers in Node.js and modern browsers with security in mind

    • v1.0.0
    • 73.43
    • Published

    node-ziggurat

    An implementation of the Ziggurat algorithm for generating Normally-distributed numbers.

    • v0.0.2
    • 73.20
    • Published

    xorshift

    Random number generator using xorshift128+

    • v1.2.0
    • 71.11
    • Published

    random-simple

    Real random numbers/letters/strings generator

    • v2.0.0
    • 69.41
    • Published

    random-int

    Generate a random integer

    • v3.1.0
    • 68.97
    • Published

    js_mt_rand

    A pseudo-random generator that can produce the same numbers as the php's mt_rand do with given seed.

    • v2.1.0
    • 68.59
    • Published

    nanoid

    A tiny (118 bytes), secure URL-friendly unique string ID generator

    • v5.1.5
    • 67.33
    • Published

    prando

    Deterministic pseudo-random number generator for JavaScript and TypeScript

    • v6.0.1
    • 67.02
    • Published

    js-random-number

    With this package, you can create Random Numbers and Timestamp Based Random Numbers with low probability of collision using strong randomized bytes as seed.

    • v1.1.3
    • 66.54
    • Published

    @stdlib/random-iter-lognormal

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

    • v0.2.1
    • 66.02
    • Published

    geojson-random

    generate random geojson features

    • v0.5.0
    • 65.85
    • Published

    vrandom

    an easy way to work with random numbers in javascript

    • v2.0.5
    • 64.97
    • Published

    randombytes

    random bytes from browserify stand alone

    • v2.1.0
    • 64.66
    • Published

    @stdlib/random-iter-triangular

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

    • v0.2.1
    • 64.54
    • Published

    prime-functions

    Advanced Prime Numbers Functions. All functions that you need. Generate primes and process with prime numbers

    • v1.2.4
    • 64.34
    • Published

    @mathigon/fermat

    Powerful mathematics and statistics library for JavaScript.

    • v1.1.24
    • 63.95
    • Published

    @stdlib/random-iter-normal

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

    • v0.2.1
    • 63.85
    • Published

    node-random-number

    Generate one or more random unique numbers in a range.

    • v0.1.1
    • 63.80
    • Published

    pure-rand

    Pure random number generator written in TypeScript

    • v7.0.1
    • 63.38
    • Published

    unique-string

    Generate a unique random string

    • v3.0.0
    • 63.04
    • Published

    randomlykey

    javascript library to generate random numbers, letters, special character and with min/max range control

    • v1.0.0
    • 62.95
    • Published

    space-slug

    Generate unique slugs, usernames, numbers and more. If you need a unique string that looks like this `hyperspace-4812` or `blue-whimsical-summer` using an intuitive api with zero dependencies.

    • v2.1.0
    • 61.19
    • Published

    tempy

    Get a random temporary file or directory path

    • v3.1.0
    • 60.74
    • Published

    get-port

    Get an available port

    • v7.1.0
    • 60.59
    • Published

    id-pl

    Provides utility methods to validate and generate various identification numbers used in Poland such as NIP, REGON, PESEL, etc.

    • v0.3.0
    • 60.48
    • Published

    @stdlib/random-iter-f

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

    • v0.2.1
    • 59.73
    • Published

    randomfill

    random fill from browserify stand alone

    • v1.0.4
    • 59.50
    • Published

    skew-normal-random

    Generate random numbers in a skew-normal distribution, optionally truncated.

    • v1.0.0
    • 59.27
    • Published

    secure-random

    Normalize the creation of cryptographically strong random values.

    • v1.1.2
    • 58.70
    • Published

    random-numbers

    Create random numbers easily

    • v1.0.8
    • 58.66
    • Published

    delay

    Delay a promise a specified amount of time

    • v6.0.0
    • 58.37
    • Published

    random-item

    Get a random item from an array

    • v4.0.1
    • 58.21
    • Published

    alea

    Implementation of the Alea PRNG by Johannes Baagøe

    • v1.0.1
    • 58.20
    • Published

    @lukeed/csprng

    An alias package for `crypto.randomBytes` in Node.js and/or browsers

    • v1.1.0
    • 58.06
    • Published

    met-generate-int

    return a random int between two int numbers

    • v2.8.50
    • 57.95
    • Published

    uid

    A tiny (130B to 205B) and fast utility to randomize unique IDs of fixed length

    • v2.0.2
    • 57.72
    • Published

    randexp

    Create random strings that match a given regular expression.

    • v0.5.3
    • 57.44
    • Published

    @stdlib/random-streams-f

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

    • v0.2.1
    • 57.02
    • Published

    seedrandom

    Seeded random number generator for Javascript.

    • v3.0.5
    • 57.02
    • Published

    sponge-case

    Transform into a string with random capitalization applied

    • v2.0.3
    • 57.01
    • Published

    hexoid

    A tiny (190B) and extremely fast utility to generate random IDs of fixed length

    • v2.0.0
    • 56.99
    • Published

    password-generator

    Memorable password generator. For the command line, Node.js and the browser.

    • v2.3.2
    • 56.89
    • Published

    uid-safe

    URL and cookie safe UIDs

    • v2.1.5
    • 56.31
    • Published

    random-bytes

    URL and cookie safe UIDs

    • v1.0.0
    • 56.15
    • Published

    random-org-mcp-server

    MCP Server for api.random.org integration - Generate true random numbers, strings, UUIDs and more

    • v1.0.3
    • 56.05
    • Published

    randomatic

    Generate randomized strings of a specified length using simple character sequences. The original generate-password.

    • v3.1.1
    • 55.93
    • Published

    random-number-csprng-2

    A cryptographically secure generator for random numbers in a range.

    • v2.0.0
    • 55.03
    • Published

    really-random

    Utility for generation of random numbers.

    • v0.1.15
    • 54.47
    • Published

    pcg64dxsm

    A modern PCG64-DXSM PRNG for JavaScript — reproducible, high-quality random numbers for Node.js and browsers.

    • v1.0.0
    • 54.11
    • Published

    randoml

    RandoML is a library of random numbers with the option of excluding or increasing the priority of a number

    • v1.0.0
    • 53.95
    • Published

    tempfile

    Get a random temporary file path

    • v5.0.0
    • 53.67
    • Published

    boring-name-generator

    Generateing a random, unique, heroku-like name for the motherbored. e.g. "gnarly-yield-2913"

    • v1.0.3
    • 53.54
    • Published

    @lukeed/uuid

    A tiny (230B) and fast UUID (v4) generator for Node and the browser

    • v2.0.1
    • 53.37
    • Published

    prime-numbers

    JS library for prime numbers

    • v1.0.0
    • 53.24
    • Published

    numbers-station

    An HTTP server for generating a pseudorandom series of numbers.

    • v0.4.2
    • 53.19
    • Published

    knuth-shuffle-seeded

    The Fisher-Yates (aka Knuth) shuffle for Node.js, with seeding support

    • v1.0.6
    • 52.69
    • Published

    uint-rng

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

    • v1.2.1
    • 52.68
    • Published

    rnukt

    This package will generate random numbers like swag

    • v1.4.2
    • 52.59
    • Published

    random-array-generator

    Generates an array of unique random numbers using a Mersene-twister algorithm.

    • v1.0.7
    • 52.56
    • Published

    luhnify

    Generate random Luhn sequences, such as credit card numbers.

    • v1.1.1
    • 51.58
    • Published

    node-red-node-random

    A Node-RED node that when triggered generates a random number between two values.

    • v0.4.1
    • 51.04
    • Published

    rndm

    random string generator

    • v1.2.0
    • 51.02
    • Published

    seedable-random

    Seedable Math.random compatible pseudorandom number generator

      • v0.0.1
      • 50.99
      • Published

      temp-write

      Write data to a random temporary file

      • v6.0.0
      • 50.37
      • Published

      probability-distributions

      Generate random variables from a variety of probability distributions. Includes tools to shuffle an array or sample from it.

      • v0.9.1
      • 50.21
      • Published

      @stdlib/random-streams-beta

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

      • v0.3.1
      • 49.75
      • Published

      random-number-js

      Generate random numbers with more variety.

      • v1.3.3
      • 49.72
      • 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
      • 49.62
      • Published

      @stdlib/random-array-f

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

      • v0.2.1
      • 49.52
      • Published

      temp-fs

      Temporary files, directories or names!

      • v0.9.9
      • 49.43
      • Published

      @vsc_cnst/id-now

      Generate Random Unique Identifiers such as IBANS, portugese citizin identification numbers, portuguese NIF. This is ment to development tests ONLY.

        • v1.0.20
        • 49.38
        • Published

        mersenne-twister

        Mersenne twister pseudorandom number generator

        • v1.1.0
        • 49.27
        • Published

        fair-random

        A simple utility to generate random numbers using a provable fair algorithm.

        • v1.0.1
        • 48.92
        • Published

        @pulumi/random

        A Pulumi package to safely use randomness in Pulumi programs.

        • v4.18.3
        • 48.73
        • Published

        xethya-extension-random-mtw

        Implementation of the Mersenne-Twister algorithm for generation of pseudo-random numbers.

        • v2.0.0
        • 48.05
        • Published

        @jore20/random-js-lib

        A comprehensive random number and utility library with seeded randomness, weighted selection, and various random data generators

        • v2.4.0
        • 47.48
        • 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
        • 47.43
        • Published

        uuid-random

        Fastest UUIDv4 with good RNG

        • v1.3.2
        • 47.25
        • Published

        ml-xsadd

        JavaScript implementation of the XORSHIFT-ADD (XSadd) pseudo random number generator

        • v3.0.1
        • 47.24
        • Published

        lucky-numbers

        Just some number methods (lottery, random & between)

        • v1.2.1
        • 47.17
        • Published

        burtleprng

        Fast, seeded, noncryptographic random numbers

        • v1.0.0
        • 47.11
        • Published

        hat

        generate random IDs and avoid collisions

        • v0.0.3
        • 46.98
        • Published

        meteor-random

        Meteor's Random Package for Straight Node

        • v0.0.3
        • 46.94
        • Published

        sd-random

        SilverDecisions module - Tools for generating random numbers from various distributions

        • v0.1.4
        • 46.80
        • Published

        typia

        Superfast runtime validators with only one line

        • v9.7.2
        • 46.77
        • Published

        random-nodejs

        A simple and flexible npm library that creates various type of Random Numbers.

        • v1.0.9
        • 46.69
        • Published

        @stdlib/random-streams-t

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

        • v0.2.1
        • 46.67
        • Published

        blum-blum-shub

        Random number generator based on a formula using prime numbers.

        • v0.0.3
        • 46.47
        • Published

        casual

        Fake data generator

        • v1.6.2
        • 46.42
        • Published

        fast-shuffle

        A fast implementation of a fisher-yates shuffle that does not mutate the source array.

        • v6.1.1
        • 46.37
        • Published

        randomcolor

        A tiny script for generating attractive random colors

        • v0.6.2
        • 46.06
        • Published

        @stdlib/random-array-cauchy

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

        • v0.2.1
        • 45.91
        • Published

        meteor-random-node

        Meteor's Random Package for Straight Node – with built in crypto module

        • v2.0.0
        • 45.84
        • Published

        @thi.ng/random

        Pseudo-random number generators w/ unified API, distributions, weighted choices, ID generation

        • v4.1.27
        • 45.53
        • Published

        prng-well1024a

        Random number generator based on WELL-1024a algorithm.

        • v2.0.0
        • 45.52
        • Published

        random-seed

        GRC's UHE PRNG in node (Ultra-High Entropy Pseudo-Random Number Generator by Gibson Research Corporation)

        • v0.3.0
        • 45.39
        • Published

        random-bigint

        Generate random bigints.

        • v0.0.1
        • 45.36
        • Published

        js-generate-password

        Password Generator for using in javascript/typescript based projects.

        • v1.0.0
        • 45.27
        • Published

        unique-username-generator

        A package to generate a unique username from email or randomly selected nouns and adjectives. User can add a separator between the username, define the maximum length of a username and adds up to six random digits.

        • v1.5.1
        • 45.23
        • Published

        @natmach/random-generator-id

        Simple package generating random IDs - can include uppercase letters, lowercase letters and numbers.

          • v1.0.3
          • 44.92
          • Published

          order-id

          Unique order id generator

          • v2.2.0
          • 44.84
          • Published

          randomkey

          Lightweight node.js lib for generating random strings from a character set

          • v1.0.0
          • 44.72
          • Published

          @stdlib/random-strided-minstd

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

          • v0.2.1
          • 44.70
          • Published

          random-words

          Generate one or more common English words

          • v2.0.1
          • 44.66
          • Published

          rocha

          Runs Mocha unit tests but randomizes their order

          • v2.5.10
          • 44.63
          • Published

          @stdlib/random-iter-chisquare

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

          • v0.2.1
          • 44.31
          • Published

          @keystonehq/alias-sampling

          A Node.js module for efficient sampling from a discrete probability distribution using the alias method.

            • v0.1.2
            • 44.11
            • Published

            pandemonium

            Typical random-related functions for JavaScript.

            • v2.4.1
            • 44.06
            • Published

            @stdlib/random-streams-erlang

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

            • v0.2.1
            • 43.93
            • Published

            tambola

            Professional Tambola/Housie Game Standard Ticket Generator with CLI and comprehensive API

            • v4.1.0
            • 43.91
            • Published

            @stdlib/random-streams-weibull

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

            • v0.2.1
            • 43.91
            • Published

            replayable-random

            Reproducible sequences of pseudo random numbers for TypeScript and JavaScript

            • v0.4.1
            • 43.90
            • Published

            seed-rand

            Generate random numbers with seed.

              • v1.0.4
              • 43.88
              • Published

              shuffle-array

              Randomize the order of the elements in a given array.

              • v1.0.1
              • 43.53
              • Published

              mnemonic-id

              Library to generate easy to remember, and sometimes entertaining, human readable ids

              • v3.2.7
              • 43.36
              • Published

              eth-random

              An Ethereum contract for generating pseudo-random numbers

              • v0.0.4-alpha.1
              • 43.25
              • Published

              @stdlib/random-iter-erlang

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

              • v0.2.1
              • 43.17
              • Published

              @stdlib/random-iter-geometric

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

              • v0.2.1
              • 43.04
              • 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
              • 42.75
              • Published

              gl-vec3

              gl-matrix's vec3, split into smaller pieces

              • v1.2.0
              • 42.72
              • Published

              @ssts/frac

              Get a random fractional/decimal number within a range, between two numbers min and max.

              • v1.0.0
              • 42.65
              • Published

              array-shuffle

              Randomize the order of items in an array

              • v3.0.0
              • 42.59
              • Published

              get-port-cli

              Get an available port

              • v3.0.0
              • 42.46
              • Published

              simplex-noise

              simplex-noise is a fast simplex noise implementation in Javascript. Works in node and in the browser.

              • v4.0.3
              • 42.17
              • Published

              modern-random-ua

              Randomly generates User-Agent strings based on actual usage statistics from Wikimedia.

              • v1.0.3
              • 42.10
              • Published

              @stdlib/random-iter-rayleigh

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

              • v0.2.1
              • 42.03
              • Published