JSPM

Found 6872 results for random numbers

d3-random

Generate random numbers from various distributions.

  • v3.0.1
  • 350.75
  • Published

csprng

Secure random numbers of any size in any base

  • v0.1.2
  • 279.32
  • Published

unique-random

Generate random numbers that are consecutively unique

  • v4.0.0
  • 252.97
  • Published

random-number

Generate pseudo-randum numbers

  • v0.0.9
  • 216.06
  • Published

rand-seed

A small library for generating random numbers

  • v3.0.0
  • 206.93
  • Published

uniqolor

Generate unique and beautiful colors from any texts or numbers

  • v1.1.1
  • 204.84
  • 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.82
  • Published

random-number-csprng

A cryptographically secure generator for random numbers in a range.

  • v1.0.2
  • 199.22
  • Published

mtwist

Mersenne Twister random numbers

  • v1.0.2
  • 175.02
  • Published

mersenne

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

  • v0.0.4
  • 173.65
  • Published

random.js

random numbers and string generation

  • v0.1.0
  • 165.52
  • 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
  • 165.07
  • Published

identification-numbers

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

  • v0.0.7
  • 151.90
  • Published

numbers-logic

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

  • v1.4.6
  • 150.30
  • Published

@stdlib/random-array-uniform

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

  • v0.2.1
  • 146.60
  • Published

randomish

You need numbers? We got numbers.

  • v0.1.6
  • 145.00
  • Published

random-org

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

  • v2.2.0
  • 142.33
  • Published

gerar-cpf

Generate random Brazilian CPF document numbers.

  • v3.1.0
  • 138.85
  • 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.51
  • Published

random-ext

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

  • v2.8.0
  • 120.38
  • 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.12
  • Published

@alwatr/random

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

  • v5.1.14
  • 117.00
  • 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.42
  • Published

@tsdotnet/random

A utility for simplifying generating random numbers and shuffling arrays.

  • v1.1.7
  • 116.07
  • Published

unique-random-range

Generate unique random numbers, for a given range.

  • v1.0.8
  • 111.72
  • 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.99
  • Published

unirand

Random numbers and Distributions generation

  • v2.12.2
  • 104.18
  • Published

randomf

Random numbers in a finite field

  • v0.0.3
  • 103.30
  • Published

prob.js

Generate random numbers from different probability distributions.

  • v1.0.6
  • 102.42
  • Published

random-all

Generates random numbers, unique random numbers.

  • v1.1.0
  • 102.39
  • Published

pure-random-number

A cryptographically secure generator for random numbers in a range.

  • v3.2.1
  • 99.80
  • Published

id-16

Create random id's and numbers in base 16!

  • v1.0.5
  • 99.78
  • Published

@skhatri/generator-mcp

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

  • v0.7.0
  • 99.67
  • Published

keymask

Map sequential IDs or serial numbers to random-looking strings

  • v0.10.1
  • 99.14
  • Published

bias-random

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

  • v1.0.2
  • 96.67
  • Published

secure-rng

Generating secure random numbers.

  • v1.0.11
  • 94.64
  • Published

@stdlib/random-array-normal

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

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

    random-array

    Create array with random numbers

    • v0.0.2
    • 88.62
    • Published

    @se-oss/rand

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

    • v1.1.0
    • 86.86
    • Published

    @stdlib/random-iter-uniform

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

    • v0.2.1
    • 86.74
    • Published

    pseudo-random.js

    Library for generating pseudo-random numbers.

    • v1.3.4
    • 86.36
    • Published

    randtools

    Generate random numbers with different distributions

    • v1.2.0
    • 83.95
    • Published

    chance

    Chance - Utility library to generate anything random

    • v1.1.13
    • 83.73
    • Published

    implausible

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

    • v3.1.1
    • 83.24
    • 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.22
    • Published

    @stdlib/random-iter-randu

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

    • v0.2.1
    • 82.94
    • Published

    unique-random-at-depth

    Generate random numbers that are consecutively unique at a provided depth

    • v1.0.0
    • 81.24
    • Published

    @stdlib/random-iter-beta

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

    • v0.2.1
    • 80.70
    • Published

    random-js

    A mathematically correct random number generator library for JavaScript.

    • v2.1.0
    • 77.12
    • Published

    short-unique-id

    Generate random or sequential UUID of any length

    • v5.3.2
    • 74.70
    • Published

    random-bytes-numbers

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

    • v1.0.0
    • 73.49
    • Published

    node-ziggurat

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

    • v0.0.2
    • 73.24
    • Published

    xorshift

    Random number generator using xorshift128+

    • v1.2.0
    • 71.17
    • Published

    random-simple

    Real random numbers/letters/strings generator

    • v2.0.0
    • 69.42
    • Published

    random-int

    Generate a random integer

    • v3.1.0
    • 69.05
    • 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.66
    • Published

    nanoid

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

    • v5.1.5
    • 67.40
    • Published

    prando

    Deterministic pseudo-random number generator for JavaScript and TypeScript

    • v6.0.1
    • 67.07
    • 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.57
    • Published

    @stdlib/random-iter-lognormal

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

    • v0.2.1
    • 66.05
    • Published

    geojson-random

    generate random geojson features

    • v0.5.0
    • 65.91
    • Published

    vrandom

    an easy way to work with random numbers in javascript

    • v2.0.5
    • 65.00
    • Published

    randombytes

    random bytes from browserify stand alone

    • v2.1.0
    • 64.76
    • Published

    @stdlib/random-iter-triangular

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

    • v0.2.1
    • 64.52
    • Published

    prime-functions

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

    • v1.2.4
    • 64.40
    • Published

    @mathigon/fermat

    Powerful mathematics and statistics library for JavaScript.

    • v1.1.24
    • 63.99
    • Published

    @stdlib/random-iter-normal

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

    • v0.2.1
    • 63.83
    • Published

    node-random-number

    Generate one or more random unique numbers in a range.

    • v0.1.1
    • 63.78
    • Published

    pure-rand

    Pure random number generator written in TypeScript

    • v7.0.1
    • 63.47
    • Published

    unique-string

    Generate a unique random string

    • v3.0.0
    • 63.08
    • Published

    randomlykey

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

    • v1.0.0
    • 63.01
    • 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.25
    • Published

    tempy

    Get a random temporary file or directory path

    • v3.1.0
    • 60.80
    • Published

    get-port

    Get an available port

    • v7.1.0
    • 60.68
    • 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.50
    • Published

    @stdlib/random-iter-f

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

    • v0.2.1
    • 59.74
    • Published

    randomfill

    random fill from browserify stand alone

    • v1.0.4
    • 59.55
    • Published

    skew-normal-random

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

    • v1.0.0
    • 59.30
    • Published

    secure-random

    Normalize the creation of cryptographically strong random values.

    • v1.1.2
    • 58.75
    • Published

    random-numbers

    Create random numbers easily

    • v1.0.8
    • 58.68
    • Published

    delay

    Delay a promise a specified amount of time

    • v6.0.0
    • 58.41
    • Published

    random-item

    Get a random item from an array

    • v4.0.1
    • 58.28
    • Published

    alea

    Implementation of the Alea PRNG by Johannes Baagøe

    • v1.0.1
    • 58.24
    • Published

    @lukeed/csprng

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

    • v1.1.0
    • 58.13
    • Published

    met-generate-int

    return a random int between two int numbers

    • v2.8.50
    • 57.98
    • Published

    uid

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

    • v2.0.2
    • 57.78
    • Published

    randexp

    Create random strings that match a given regular expression.

    • v0.5.3
    • 57.48
    • Published

    sponge-case

    Transform into a string with random capitalization applied

    • v2.0.3
    • 57.09
    • Published

    seedrandom

    Seeded random number generator for Javascript.

    • v3.0.5
    • 57.09
    • Published

    hexoid

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

    • v2.0.0
    • 57.05
    • Published

    @stdlib/random-streams-f

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

    • v0.2.1
    • 57.04
    • Published

    password-generator

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

    • v2.3.2
    • 56.95
    • Published

    uid-safe

    URL and cookie safe UIDs

    • v2.1.5
    • 56.39
    • Published

    random-bytes

    URL and cookie safe UIDs

    • v1.0.0
    • 56.22
    • Published

    random-org-mcp-server

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

    • v1.0.3
    • 56.06
    • Published

    randomatic

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

    • v3.1.1
    • 55.96
    • Published

    random-number-csprng-2

    A cryptographically secure generator for random numbers in a range.

    • v2.0.0
    • 55.04
    • Published

    really-random

    Utility for generation of random numbers.

    • v0.1.15
    • 54.45
    • Published

    pcg64dxsm

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

    • v1.0.0
    • 54.14
    • 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.96
    • Published

    tempfile

    Get a random temporary file path

    • v5.0.0
    • 53.71
    • Published

    boring-name-generator

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

    • v1.0.3
    • 53.60
    • Published

    @lukeed/uuid

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

    • v2.0.1
    • 53.44
    • Published

    prime-numbers

    JS library for prime numbers

    • v1.0.0
    • 53.30
    • Published

    numbers-station

    An HTTP server for generating a pseudorandom series of numbers.

    • v0.4.2
    • 53.23
    • Published

    knuth-shuffle-seeded

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

    • v1.0.6
    • 52.74
    • Published

    uint-rng

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

    • v1.2.1
    • 52.71
    • Published

    random-array-generator

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

    • v1.0.7
    • 52.60
    • Published

    rnukt

    This package will generate random numbers like swag

    • v1.4.2
    • 52.57
    • Published

    luhnify

    Generate random Luhn sequences, such as credit card numbers.

    • v1.1.1
    • 51.62
    • Published

    node-red-node-random

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

    • v0.4.1
    • 51.08
    • Published

    rndm

    random string generator

    • v1.2.0
    • 51.06
    • Published

    seedable-random

    Seedable Math.random compatible pseudorandom number generator

      • v0.0.1
      • 51.05
      • Published

      temp-write

      Write data to a random temporary file

      • v6.0.0
      • 50.45
      • 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.24
      • Published

      @stdlib/random-streams-beta

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

      • v0.3.1
      • 49.78
      • Published

      random-number-js

      Generate random numbers with more variety.

      • v1.3.3
      • 49.75
      • 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.60
      • Published

      @stdlib/random-array-f

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

      • v0.2.1
      • 49.56
      • Published

      temp-fs

      Temporary files, directories or names!

      • v0.9.9
      • 49.46
      • 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.41
        • Published

        mersenne-twister

        Mersenne twister pseudorandom number generator

        • v1.1.0
        • 49.35
        • Published

        fair-random

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

        • v1.0.1
        • 48.93
        • Published

        @pulumi/random

        A Pulumi package to safely use randomness in Pulumi programs.

        • v4.18.3
        • 48.78
        • Published

        xethya-extension-random-mtw

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

        • v2.0.0
        • 48.06
        • 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.51
        • 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.44
        • Published

        uuid-random

        Fastest UUIDv4 with good RNG

        • v1.3.2
        • 47.28
        • Published

        ml-xsadd

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

        • v3.0.1
        • 47.28
        • Published

        lucky-numbers

        Just some number methods (lottery, random & between)

        • v1.2.1
        • 47.16
        • Published

        burtleprng

        Fast, seeded, noncryptographic random numbers

        • v1.0.0
        • 47.14
        • Published

        hat

        generate random IDs and avoid collisions

        • v0.0.3
        • 47.02
        • Published

        meteor-random

        Meteor's Random Package for Straight Node

        • v0.0.3
        • 46.99
        • Published

        sd-random

        SilverDecisions module - Tools for generating random numbers from various distributions

        • v0.1.4
        • 46.82
        • Published

        typia

        Superfast runtime validators with only one line

        • v9.7.2
        • 46.82
        • Published

        random-nodejs

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

        • v1.0.9
        • 46.70
        • Published

        @stdlib/random-streams-t

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

        • v0.2.1
        • 46.69
        • Published

        blum-blum-shub

        Random number generator based on a formula using prime numbers.

        • v0.0.3
        • 46.49
        • Published

        casual

        Fake data generator

        • v1.6.2
        • 46.45
        • Published

        fast-shuffle

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

        • v6.1.1
        • 46.44
        • Published

        randomcolor

        A tiny script for generating attractive random colors

        • v0.6.2
        • 46.13
        • Published

        @stdlib/random-array-cauchy

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

        • v0.2.1
        • 45.94
        • Published

        meteor-random-node

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

        • v2.0.0
        • 45.86
        • Published

        prng-well1024a

        Random number generator based on WELL-1024a algorithm.

        • v2.0.0
        • 45.57
        • Published

        @thi.ng/random

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

        • v4.1.27
        • 45.57
        • Published

        random-seed

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

        • v0.3.0
        • 45.44
        • Published

        random-bigint

        Generate random bigints.

        • v0.0.1
        • 45.40
        • Published

        js-generate-password

        Password Generator for using in javascript/typescript based projects.

        • v1.0.0
        • 45.31
        • 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.28
        • Published

        @natmach/random-generator-id

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

          • v1.0.3
          • 44.93
          • Published

          order-id

          Unique order id generator

          • v2.2.0
          • 44.87
          • Published

          randomkey

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

          • v1.0.0
          • 44.76
          • 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.73
          • Published

          random-words

          Generate one or more common English words

          • v2.0.1
          • 44.71
          • Published

          rocha

          Runs Mocha unit tests but randomizes their order

          • v2.5.10
          • 44.66
          • Published

          @stdlib/random-iter-chisquare

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

          • v0.2.1
          • 44.32
          • Published

          @keystonehq/alias-sampling

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

            • v0.1.2
            • 44.17
            • Published

            pandemonium

            Typical random-related functions for JavaScript.

            • v2.4.1
            • 44.12
            • Published

            @stdlib/random-streams-erlang

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

            • v0.2.1
            • 43.97
            • Published

            tambola

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

            • v4.1.0
            • 43.95
            • Published

            @stdlib/random-streams-weibull

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

            • v0.2.1
            • 43.93
            • Published

            replayable-random

            Reproducible sequences of pseudo random numbers for TypeScript and JavaScript

            • v0.4.1
            • 43.92
            • Published

            seed-rand

            Generate random numbers with seed.

              • v1.0.4
              • 43.90
              • Published

              shuffle-array

              Randomize the order of the elements in a given array.

              • v1.0.1
              • 43.57
              • Published

              mnemonic-id

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

              • v3.2.7
              • 43.40
              • Published

              eth-random

              An Ethereum contract for generating pseudo-random numbers

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

              @stdlib/random-iter-erlang

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

              • v0.2.1
              • 43.18
              • Published

              @stdlib/random-iter-geometric

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

              • v0.2.1
              • 43.06
              • 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.77
              • Published

              gl-vec3

              gl-matrix's vec3, split into smaller pieces

              • v1.2.0
              • 42.76
              • Published

              @ssts/frac

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

              • v1.0.0
              • 42.66
              • Published

              array-shuffle

              Randomize the order of items in an array

              • v3.0.0
              • 42.65
              • Published

              get-port-cli

              Get an available port

              • v3.0.0
              • 42.51
              • Published

              simplex-noise

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

              • v4.0.3
              • 42.23
              • Published

              modern-random-ua

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

              • v1.0.3
              • 42.13
              • Published

              @stdlib/random-iter-rayleigh

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

              • v0.2.1
              • 42.06
              • Published