A client for crosschain token swaps using only swaps
Give your Privy wallet swap superpowers. Multi-chain DEX meta-aggregator for AI agents - queries 15+ DEX aggregators for best swap prices.
ECMAScript AST recursive visitor
Solidity smart contracts for **cross-chain token swaps** with upgradeability and BLS signature verification.
Array#isArray for older browsers
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
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
Run a function exactly one time
Callback wrapping utility
Allows users to use generators in order to write common functions that can be both sync or async.
Fast deep equal
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.
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.
Fast (and loose) selective `process.env` replacer using js-tokens instead of an AST
Turn any collection of objects into its own efficient tree or linked list using Symbol
Returns true if a string has an extglob.
Safer Node.js Buffer API