@endo/nat
Ensures that a number is within the natural numbers (0, 1, 2...) or throws a RangeError
Ensures that a number is within the natural numbers (0, 1, 2...) or throws a RangeError
An arbitrary length integer library for Javascript
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
Get random 🎲 things the easy way. Simple, quick and light 🤏. 📂 Zipped under 2kb with updates.
Scalar definitions for Neuledge Engine
An extendable class representing JavaScript's bigint data type.
Returns true if the given number is odd, and is an integer that does not exceed the JavaScript MAXIMUM_SAFE_INTEGER.
Returns true if the given number is odd, and is an integer that does not exceed the JavaScript MAXIMUM_SAFE_INTEGER.
Native 64-bit integers with overflow protection.
Float an integer value
Unfloat a floating value to an integer number
Range array with step for javascript.
Additional mongoose schema validations
This is a package for converting the roman numbers into the integer.
[Deprecated] Generates a random integer within a range
The BigInteger class wrapped bn.js and native BitInt
[Deprecated] JST that converts strings & strings within objects to numbers
Encode & decode strings, bytes, and integers to Base62
Get the integral and fractional parts of a given number.
RapidOM schema validator