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–10 of 10 · 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.
Get a formatted timestamp. Used in gulp, assemble, generate, and many others.
Recursively flatten an array or arrays. This is the fastest implementation of array flatten.
Returns an array with only the unique values from all given arrays using strict equality for comparisons.
Return the last element in an array. Faster than `.slice`
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.
Get the first element or first n elements of an array.
Bind a context to all functions in an object, including deeply nested functions.