mad-utils
A set of misc utilties I find myself repeatedly re-writing between projects.
A set of misc utilties I find myself repeatedly re-writing between projects.
Rounds a numeric value to the nearest integer.
Function triggers error if argument is not integer of zero or greater
With this package, you can create Random Numbers and Timestamp Based Random Numbers with low probability of collision using strong randomized bytes as seed.
Returns integer ranges for a given number of bytes
A library for representing and working with arbitrary byte size two's complement integers, signed and unsigned.
Validation utilities.
Support for representing 64-bit integers in JavaScript
TypeScript schema validation
A 32-bit integer can store values from -2^31 to 2^31 - 1.
A BigInt can represent whole numbers larger than 2⁵³ - 1.
Maximum unsigned 8-bit integer.
64-bit unsigned integer arithmetic and locic operators for JavaScript
Detect type of variable - string, integer, array, geolocation, float, repeatable_string etc
Validates if a value is a safe integer.
Numeric types such as precise decimals
Convert to/from Roman numerals
Format passed number
Maximum unsigned 16-bit integer.
Maximum unsigned 32-bit integer.