Search results

51 packages found

Discrete uniform distributed pseudorandom numbers.

published version 0.2.1, a year ago8 dependents licensed under $Apache-2.0 AND BSL-1.0
23,397

Pseudorandom numbers having integer values.

published version 0.2.1, a year ago4 dependents licensed under $Apache-2.0
14,079

A Quick and Precise Library for Calculating the Median Value of an Array of Numbers (Typed or Untyped)

published version 2.0.0, a year ago2 dependents licensed under $CC0-1.0
11,147

🔥 A Quick and Precise Way to get the Median Value of an Array of Numbers (Typed or Untyped)

published version 1.0.0, 3 years ago1 dependents licensed under $CC0-1.0
6,876

Range aka interval object. Supports exclusive and infinite ranges. Comes with an interval tree (augmented binary search tree).

published version 1.7.2, 8 years ago3 dependents
10,149

check if a given number is between two numbers

published version 1.0.0, 9 years ago2 dependents licensed under $ISC
5,116

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

published version 0.2.1, a year ago1 dependents licensed under $Apache-2.0
3,205

a fast integer compression library in JavaScript

published version 0.1.0, 2 years ago9 dependents licensed under $Apache-2.0
389

Converts a number into English words.

published version 1.0.0, 3 years ago0 dependents licensed under $Apache-2.0
180

generate a random integer

published version 2.0.0, 8 years ago2 dependents licensed under $ISC
218

The first 100,000 prime numbers.

published version 0.2.2, 6 months ago0 dependents licensed under $Apache-2.0
172

Typed Integers

published version 1.3.1, a month ago0 dependents licensed under $MIT
43

Alice, a simple and performant data structure for bipartite graphs with integer values as vertices.

published version 0.1.2, 7 years ago1 dependents licensed under $MIT
47

A robust modular arithmetic utility for JavaScript, handling both positive and negative integers with ease. Ensure consistent, non-negative results for your modulo operations. Perfect for mathematical computations, circular buffer implementations, and mor

published version 1.2.0, 3 months ago0 dependents licensed under $Apache-2.0
34

Convert integer numbers to their written form.

published version 0.0.2, 8 years ago1 dependents licensed under $MIT
37

2 functions: one gives you 1 random integer within a chosen range, the other gives you many.

published version 2.0.2, 4 years ago3 dependents licensed under $MIT
36

Nonlinear Interpolation of Integers Made Simple

published version 1.0.3, 5 years ago0 dependents licensed under $ISC
31

Get unique number results based on unique inputs using modulo-n classes.

published version 1.0.10, 4 years ago1 dependents licensed under $MIT
30

Arbitrary precision arithmetic for integers in big endian order for JavaScript

published version 12.0.0, 2 years ago1 dependents licensed under $AGPL-3.0
29

JavaScript utility methods for numbers

published version 0.41.3, 2 years ago3 dependents licensed under $MIT
28