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
64-bit unsigned integer arithmetic and locic operators for JavaScript
Validation utilities.
TypeScript schema validation
Support for representing 64-bit integers in JavaScript
A library for representing and working with arbitrary byte size two's complement integers, signed and unsigned.
Maximum unsigned 8-bit integer.
A 32-bit integer can store values from -2^31 to 2^31 - 1.
A BigInt can represent whole numbers larger than 2⁵³ - 1.
Generate a random integer in Javascript (ES6), within a given range.
Detect type of variable - string, integer, array, geolocation, float, repeatable_string etc
Validates if a value is a safe integer.
Format passed number
Numeric types such as precise decimals
Convert to/from Roman numerals
Maximum unsigned 16-bit integer.