math-precision
.round, .ceil, .floor with precision parameter: .round(1.234, 2) → 1.23
.round, .ceil, .floor with precision parameter: .round(1.234, 2) → 1.23
Pad numbers with zeros. Automatically pad the number of digits based on the length of the array, or explicitly pass in the number of digits to use.
A fast way to check if the object has a specific number of properties.
JavaScript awesome yet another assertion module
A better random number generator
ES2015-compliant shim for Number.isNaN - the global isNaN returns false positives.
Returns an integer corresponding to the unbiased exponent of a double-precision floating-point number.
JSON languages object.
A configurable custom input number type for GraphQL with sanitization and validation.
A input number component of responsive-ui.
A react component to format phone numbers. Fork from https://github.com/bl00mber/react-phone-input-2
A phone number input made with Vue JS && libphonenumber-js
Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`
Common `crypto` snippets (generate random bytes, salt, hash password, etc)
find out if a number is prime or not
react-phone-input-2 with startsWith polyfill
A cryptographically secure generator for random numbers in a range.
Force a numerical value to be within bounds, or a safe default.
Format thousands and decimals with custom separator: 1.000.000,00
Performance-oriented decimal.js replacement for incremental games.