JSPM

Found 514 results for rand

pure-rand

Pure random number generator written in TypeScript

  • v8.4.1
  • 101.24
  • Published

randomatic

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

  • v3.1.1
  • 85.40
  • Published

secure-random

Normalize the creation of cryptographically strong random values.

  • v1.1.2
  • 65.73
  • Published

array-shuffle

Randomize the order of items in an array

  • v4.1.0
  • 63.46
  • Published

@stdlib/random-base-minstd

A linear congruential pseudorandom number generator (LCG) based on Park and Miller.

  • v0.2.3
  • 57.19
  • Published

crypto-rand

Improved randomness without any external dependencies.

  • v0.0.2
  • 53.49
  • Published

@stdlib/random-array-uniform

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

  • v0.2.2
  • 51.26
  • 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
  • 48.84
  • Published

@grandom/mt19937

Configurable Mersenne Twister PRNG implementation written in TypeScript.

  • v1.0.6
  • 46.50
  • Published

@grandom/engines

Various RNG engines for the grandom library.

  • v4.0.1
  • 45.89
  • Published

@stdlib/random-tools-binary

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

  • v0.1.1
  • 44.85
  • Published

glsl-random

pseudo-random 2D noise for glslify

  • v0.0.5
  • 44.52
  • Published

@grandom/core

Core package of the grandom library.

  • v3.0.4
  • 43.11
  • Published

@stdlib/random-uniform

Generate pseudorandom numbers drawn from a continuous uniform distribution.

  • v0.1.1
  • 43.01
  • Published

cat-names

Get popular cat names

  • v4.0.0
  • 42.52
  • Published

@stdlib/random-iter-randu

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

  • v0.2.2
  • 41.23
  • Published

crayola

Get Crayola Names and Color Codes

  • v0.0.1
  • 38.36
  • Published

@stdlib/random-iter-uniform

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

  • v0.2.2
  • 37.94
  • Published

replayable-random

Reproducible sequences of pseudo random numbers for TypeScript and JavaScript

  • v0.4.1
  • 37.87
  • Published

temperment

Get a random temporary file or directory path that will delete itself

  • v1.0.0
  • 37.14
  • Published

animals

Get animals

  • v0.0.3
  • 37.04
  • Published

hash-index

A hashing function which returns integers with a possible max value

  • v3.0.0
  • 36.98
  • Published

@stdlib/random-streams-rayleigh

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

  • v0.2.2
  • 36.03
  • Published

world-countries-capitals

A simple NPM package to get capitals, currency, native language, famous_for etc. of all the countries in the world

  • v3.4.0
  • 35.29
  • Published

random-string-gen

A simple module for generating random strings in your code and in CLI

  • v1.1.4
  • 35.05
  • Published

tempfile2

Get a random temp file path. much better.

  • v2.0.4
  • 34.45
  • Published

@stdlib/random-tools-unary

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

  • v0.1.1
  • 32.70
  • Published

better-randstr

Fully-customizable random string generator

  • v2.0.0
  • 31.67
  • Published

nicknames

Generate nicknames

  • v1.0.2
  • 31.55
  • Published

randbytes

Get a buffer of random bytes from /dev/urandom file, time or another source

  • v0.0.1
  • 31.08
  • Published

human-names

Get popular human names

  • v1.0.13
  • 30.27
  • Published

@grandom/number

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

  • v1.4.8
  • 29.56
  • Published

rand-gen

Generates a random set of characters.

  • v1.0.3
  • 29.49
  • Published

random-web-token

Generate customizable random strings (tokens) using secure charsets with validation – zero dependencies.

  • v2.3.1
  • 28.88
  • Published

grandom

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

  • v1.5.0
  • 28.75
  • Published

@grandom/weighted

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

  • v1.0.5
  • 28.56
  • Published

@grandom/shuffle

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

  • v1.1.0
  • 28.25
  • Published

@grandom/bigint

A great random bigint generator.

  • v1.2.10
  • 28.23
  • Published

@grandom/boolean

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

  • v1.4.7
  • 27.90
  • Published

@grandom/pick

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

  • v1.4.0
  • 27.65
  • Published

@grandom/string

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

  • v1.2.7
  • 27.65
  • Published

@grandom/weighted-umd

Various UMD builds of a great weighted random generator.

  • v1.0.5
  • 27.53
  • Published

@grandom/string-umd

Various UMD builds of a great random string generator.

  • v1.2.7
  • 27.27
  • Published

@stdlib/random-iter-beta

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

  • v0.2.2
  • 27.07
  • Published

@grandom/number-umd

Various UMD builds of a great random number generator.

  • v1.4.8
  • 26.87
  • Published

@grandom/boolean-umd

Various UMD builds of a great random boolean generator.

  • v1.4.7
  • 26.85
  • Published

stonev5-utils

all my utils here (browser version)

  • v1.1.33
  • 26.65
  • Published

@grandom/bigint-umd

Various UMD builds of a great random bigint generator.

  • v1.2.10
  • 26.64
  • Published

seeded-random-utilities

Common random functions that are seedable with TypeScript support

  • v1.1.4
  • 26.57
  • Published

@grandom/pick-umd

Various UMD builds of a great random picker.

  • v1.4.0
  • 26.50
  • Published

random-extra

Seedable random number generator supporting many common distributions.

  • v5.0.2
  • 26.39
  • Published

@adriantombu/array-shuffle

A package that... well... shuffles the values of an array. Yup. That's all.

  • v2.0.11
  • 26.26
  • Published

@stdlib/random-array-normal

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

  • v0.2.2
  • 26.25
  • Published

@stdlib/random-normal

Generate pseudorandom numbers drawn from a normal distribution.

  • v0.1.1
  • 25.71
  • Published

snake-names

Get popular snake names

  • v1.0.9
  • 25.66
  • Published

@stdlib/random-array-randu

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

  • v0.2.2
  • 25.51
  • Published

random-choice

Get a weighted random item from an array

  • v1.0.0
  • 24.83
  • Published

@grandom/engines-umd

Various UMD builds of RNG engines for the grandom library.

  • v4.0.1
  • 24.78
  • Published

@stdlib/random-streams-f

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

  • v0.2.2
  • 24.46
  • Published

@stdlib/random-streams-laplace

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

  • v0.2.2
  • 24.10
  • Published

@stdlib/random-tools-ternary

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

  • v0.1.1
  • 24.02
  • Published

@stdlib/random-streams-improved-ziggurat

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

  • v0.2.2
  • 23.98
  • Published

@stdlib/random-iter-mt19937

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

  • v0.2.2
  • 23.51
  • Published

@stdlib/random-streams-normal

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

  • v0.2.2
  • 23.47
  • Published

@stdlib/random-streams-uniform

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

  • v0.2.2
  • 23.46
  • Published

@stdlib/random-iter-minstd

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

  • v0.2.2
  • 23.44
  • Published

@stdlib/random-streams-minstd-cli

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

  • v0.2.2
  • 23.43
  • Published

compute-lcg

A linear congruential pseudorandom number generator (lcg).

  • v1.0.0
  • 23.43
  • Published

@stdlib/random-iter-box-muller

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

  • v0.2.2
  • 23.36
  • Published

@stdlib/random-streams-gumbel

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

  • v0.2.2
  • 23.31
  • Published

@stdlib/random-iter-bernoulli

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

  • v0.2.2
  • 23.22
  • Published

@mdrv/surrealid

SurrealDB-compatible ID generation (rand/ulid/uuid) — pure, zero-dependency

  • v0.1.0
  • 23.19
  • Published

@stdlib/random-streams-weibull

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

  • v0.2.2
  • 23.14
  • Published

people-names

Get popular human names

  • v1.0.15
  • 23.11
  • Published

@stdlib/random-iter-lognormal

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

  • v0.2.2
  • 23.10
  • Published

@stdlib/random-streams-logistic

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

  • v0.2.2
  • 23.10
  • Published

@stdlib/random-iter-binomial

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

  • v0.2.2
  • 23.00
  • Published

@stdlib/random-streams-gamma

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

  • v0.2.2
  • 23.00
  • Published

@stdlib/random-iter-chisquare

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

  • v0.2.2
  • 22.85
  • Published

@stdlib/random-iter-randn

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

  • v0.2.2
  • 22.85
  • Published

@stdlib/random-iter-invgamma

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

  • v0.2.2
  • 22.76
  • Published

@stdlib/random-iter-levy

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

  • v0.2.2
  • 22.71
  • Published

@stdlib/random-iter-t

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

  • v0.2.2
  • 22.65
  • Published

@stdlib/random-streams-poisson

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

  • v0.2.2
  • 22.61
  • Published

@stdlib/random-iter-laplace

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

  • v0.2.2
  • 22.61
  • Published

@stdlib/random-streams-frechet

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

  • v0.2.2
  • 22.56
  • Published

@stdlib/random-iter-randi

Create an iterator for generating pseudorandom numbers having integer values.

  • v0.2.2
  • 22.56
  • Published

@stdlib/random-streams-levy

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

  • v0.2.2
  • 22.53
  • Published

@stdlib/random-iter-f

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

  • v0.2.2
  • 22.47
  • Published

@stdlib/random-streams-t

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

  • v0.2.2
  • 22.44
  • Published

@stdlib/random-streams-box-muller

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

  • v0.2.2
  • 22.39
  • Published

@stdlib/random-streams-randi

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

  • v0.2.2
  • 22.32
  • Published

@stdlib/random-streams-minstd

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

  • v0.2.2
  • 22.28
  • Published

@stdlib/random-streams-beta

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

  • v0.3.2
  • 22.27
  • Published

@stdlib/random-iter-geometric

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

  • v0.2.2
  • 22.20
  • Published

@stdlib/random-streams-kumaraswamy

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

  • v0.2.2
  • 22.20
  • Published

@stdlib/random-iter-betaprime

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

  • v0.2.2
  • 22.18
  • Published

@stdlib/random-iter-improved-ziggurat

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

  • v0.2.2
  • 22.05
  • Published

@stdlib/random-array-minstd-shuffle

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

  • v0.2.2
  • 22.02
  • Published

@stdlib/random-iter-erlang

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

  • v0.2.2
  • 22.00
  • Published

@stdlib/random-streams-randn

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

  • v0.2.2
  • 21.86
  • Published

@stdlib/random-streams-arcsine

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

  • v0.2.2
  • 21.78
  • Published

@stdlib/random-iter-gumbel

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

  • v0.2.2
  • 21.72
  • Published

@stdlib/random-iter-logistic

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

  • v0.2.2
  • 21.67
  • Published

@stdlib/random-streams-randu

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

  • v0.2.2
  • 21.63
  • Published

@stdlib/random-iter-rayleigh

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

  • v0.2.2
  • 21.62
  • Published

@stdlib/random-iter-cauchy

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

  • v0.2.2
  • 21.62
  • Published

@stdlib/random-array-cosine

Create an array containing pseudorandom numbers drawn from a raised cosine distribution.

  • v0.2.2
  • 21.59
  • Published

@stdlib/random-iter-arcsine

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

  • v0.2.2
  • 21.59
  • Published

@stdlib/random-streams-cauchy

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

  • v0.2.2
  • 21.57
  • Published

@stdlib/random-iter-normal

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

  • v0.2.2
  • 21.57
  • Published

@stdlib/random-streams-binomial

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

  • v0.2.2
  • 21.48
  • Published

@stdlib/random-streams-invgamma

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

  • v0.2.2
  • 21.48
  • Published

anid

Yet another unique alphanumeric id generator

  • v1.0.2
  • 21.47
  • Published

@stdlib/random-iter-kumaraswamy

Create an iterator for generating pseudorandom numbers drawn from a Kumaraswamy's double bounded distribution.

  • v0.2.2
  • 21.38
  • Published

@stdlib/random-streams-cosine

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

  • v0.2.2
  • 21.35
  • Published

@stdlib/random-iter-chi

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

  • v0.2.2
  • 21.35
  • Published

@stdlib/random-streams-erlang

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

  • v0.2.2
  • 21.33
  • Published

chipsy

Generate psuedo random colors for UI elements like chips, tags, badges, etc..

  • v1.1.7
  • 21.33
  • Published

@stdlib/random-iter-poisson

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

  • v0.2.2
  • 21.23
  • Published

@stdlib/random-iter-gamma

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

  • v0.2.2
  • 21.20
  • Published

@stdlib/random-iter-weibull

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

  • v0.2.2
  • 21.18
  • Published

@stdlib/random-iter-cosine

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

  • v0.2.2
  • 21.18
  • Published

@stdlib/random-array-mt19937

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

  • v0.2.2
  • 21.17
  • Published

@stdlib/random-iter-triangular

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

  • v0.2.2
  • 21.08
  • Published

randf

random float between a range

  • v1.0.0
  • 21.02
  • Published

@stdlib/random-strided-mt19937

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

  • v0.2.2
  • 21.01
  • Published

@stdlib/random-streams-chi

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

  • v0.2.2
  • 20.99
  • Published

@stdlib/random-iter-frechet

Create an iterator for generating pseudorandom numbers drawn from a Fréchet distribution.

  • v0.2.3
  • 20.97
  • Published