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.
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.
Validation utilities.
Support for representing 64-bit integers in JavaScript
64-bit unsigned integer arithmetic and locic operators for JavaScript
TypeScript schema validation
Maximum unsigned 16-bit integer.
Maximum unsigned 32-bit integer.
Maximum signed 16-bit integer.
Maximum signed 32-bit integer.
Maximum signed 8-bit integer.
Returns the maximum value of a specified integer type.
Detect type of variable - string, integer, array, geolocation, float, repeatable_string etc