This package lets you sort your array in ascending or descending order with many different algorithms.
Sort directory content by name, size, date
Sort keys and array elements in a JSON.
Array#isArray for older browsers
Get the command from a shebang
CLI arguments parser. Native port of python's argparse.
Resolve the path of a module like `require.resolve()` but from a given path
JSON parse & stringify that supports binary via bops & base64
Callback wrapping utility
Run a function exactly one time
Allows users to use generators in order to write common functions that can be both sync or async.
deterministic JSON.stringify() with custom sorting to get deterministic hashes from stringified results, with no public domain dependencies
process.nextTick but always with args
Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.
Fast (and loose) selective `process.env` replacer using js-tokens instead of an AST
Returns true if a string has an extglob.
Safer Node.js Buffer API
Use node's fs.realpath, but fall back to the JS implementation if the native one fails
Create a stream that emits events from multiple other streams
type-check allows you to check the types of JavaScript values at runtime with a Haskell like type syntax.
The Node.js `util.deprecate()` function with browser support
Merge multiple streams into one stream in sequence or parallel.
A small polyfill for Object.setprototypeof
Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.