A simple JavaScript class for computing rolling hashes.
Array#isArray for older browsers
ECMAScript AST recursive visitor
deterministic `JSON.stringify()` - a faster version of substack's json-stable-strigify without jsonify
Light ECMAScript (JavaScript) Value Notation - human written, concise, typed, flexible
Buffers events from a stream until you are ready to handle them.
Get the command from a shebang
JSON parse & stringify that supports binary via bops & base64
CLI arguments parser. Native port of python's argparse.
Run a function exactly one time
Returns true if a string has an extglob.
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
A small polyfill for Object.setprototypeof
Resolve the path of a module like `require.resolve()` but from a given path
Callback wrapping utility
Fast deep equal
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
Turn any collection of objects into its own efficient tree or linked list using Symbol
Normalize slashes in a file path to be posix/unix-like forward slashes. Also condenses repeat slashes to a single slash and removes and trailing slashes, unless disabled.
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