:notebook_with_decorative_cover: A small collection of tools for the development of javascript.
Common tools for React SSR application based on React v18 and @react-ssr-pack
Array#isArray for older browsers
JSON parse & stringify that supports binary via bops & base64
Run a function exactly one time
CLI arguments parser. Native port of python's argparse.
Get the command from a shebang
ECMAScript AST recursive visitor
Resolve the path of a module like `require.resolve()` but from a given path
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.
Buffers events from a stream until you are ready to handle them.
Returns true if a string has an extglob.
deterministic JSON.stringify() with custom sorting to get deterministic hashes from stringified results, with no public domain dependencies
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.
process.nextTick but always with args
A small polyfill for Object.setprototypeof
Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.
Use node's fs.realpath, but fall back to the JS implementation if the native one fails
Safer Node.js Buffer API
Fast (and loose) selective `process.env` replacer using js-tokens instead of an AST