JavaScript/Node.js utility. Returns `true` if the value is a number or string number. Useful for checking regex match results, user input, parsed strings, etc.
- number
- is
- isnan
- javascript
47,133 repositories indexed
1–8 of 8 · Most stars
JavaScript/Node.js utility. Returns `true` if the value is a number or string number. Useful for checking regex match results, user input, parsed strings, etc.
Set nested properties on an object using dot-notation.
Parse a magnet URI and return an object of keys/values
Gets you a JSON Schema from PostgreSQL or SQLite3. Also supports arrays and default values. Use it for introspection or preparing your domain models like with Rails's Active Record.
Returns an array with only the unique values from all given arrays using strict equality for comparisons.
Normalize values in package.json to improve compatibility, programmatic readability and usefulness with third party libs.
Return true if a value exists in an array. Faster than using indexOf and won't blow up on null values.
Call a Node-style callback with the resolution value or rejection cause of a Promise without the common pitfalls.