A website engine for the modern docs, blogs, wikis, and more. Based on MDX and Next.js.
Array#isArray for older browsers
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
Resolve the path of a module like `require.resolve()` but from a given path
ECMAScript AST recursive visitor
Callback wrapping utility
deterministic `JSON.stringify()` - a faster version of substack's json-stable-strigify without jsonify
Light ECMAScript (JavaScript) Value Notation - human written, concise, typed, flexible
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
Buffers events from a stream until you are ready to handle them.
process.nextTick but always with args
Returns true if a string has an extglob.
The Node.js `util.deprecate()` function with browser support
type-check allows you to check the types of JavaScript values at runtime with a Haskell like type syntax.
Use node's fs.realpath, but fall back to the JS implementation if the native one fails
Safer Node.js Buffer API
A small polyfill for Object.setprototypeof
Create a stream that emits events from multiple other streams
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