Deep-pick and deep-omit objects with typesafe paths.
Really Fast Deep Clone
Filter an array of objects to a specific OS
Execute a function on exit without leaking memory, allowing all objects to be garbage collected
Map object keys and values into a new object
A helper to optimistically set Symbol.toStringTag, when possible.
Processes each properties of an object deeply.
tiny util for getting and setting deep object props safely
Stringify an object sorting scalars before objects, and defaulting to 2-space indent
content-type rewrite in TypeScript with ESM and CommonJS targets
Schema for the base-cli plugin, used for normalizing argv values before passing them to cli.process().
ecs-logging-nodejs helpers
Filter object keys and values into a new object
Gets the job done when JSON.stringify can't
The best of both `JSON.stringify(obj)` and `JSON.stringify(obj, null, indent)`.
A better Object.defineProperty()
Define a data property on an object. Will fall back to assignment in an engine without descriptors.
Encode/decode DNS-SD TXT record RDATA fields
A user interface for JSON.
Map for objects.
Recursively (deep) clone JavaScript native types, like Object, Array, RegExp, Date as well as primitives.
Use property paths like 'a.b.c' to get a nested value from an object. Even works when keys have dots in them (no other dot-prop library we tested does this, or does it correctly).
deterministic version of JSON.stringify() so you can get a consistent hash from stringified results.
multihash implementation