sindresorhus / safe-stringify
Serialize objects to JSON with handling for circular references
☆154Updated 9 months ago
Alternatives and similar repositories for safe-stringify:
Users that are interested in safe-stringify are comparing it to the libraries listed below
- Make a synchronous function have a timeout☆125Updated 6 months ago
- Observe changes to the DOM using an async iterable — A nicer API for MutationObserver☆209Updated 7 months ago
- noop functions to help formatters and syntax highlighters recognize embedded code☆98Updated last year
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆146Updated 4 months ago
- Remove circular references from objects☆94Updated last year
- Lightweight tsconfig.json parser & paths resolver☆202Updated 2 months ago
- Make a regular expression time out if it takes too long to execute☆210Updated 6 months ago
- Check if a value is a Fetch network error☆136Updated 11 months ago
- Create a transform stream using await instead of callbacks☆70Updated last year
- A tiny (2.8kB) and fast utility for getting a MIME type from an extension or filename☆316Updated last month
- Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc☆162Updated 6 months ago
- Use requestAnimationFrame as an async iterable, in any JavaScript environment☆173Updated last year
- Render readable & responsive tables in the terminal☆52Updated last month
- Convert object keys from camel case☆54Updated 9 months ago
- A tiny (183B to 210B) and fast utility to ascend parent directories☆153Updated 6 months ago
- Like `Promise.all()` but for `Map` and `Object`☆195Updated last year
- Make a synchronous function asynchronous by running it in a worker☆249Updated 6 months ago
- Polyfill of `util.parseArgs()`☆124Updated 2 months ago
- A more usable typed storage API for Web Extensions☆69Updated this week
- Async mutex lock for managing access to a shared resource☆124Updated 7 months ago
- Block the main thread for a given amount of time☆124Updated last year
- Resolve things like Node.js — ponyfill for `import.meta.resolve`☆131Updated 9 months ago
- Trace the original position through a source map☆107Updated last year
- A fast parser and processor for .gitignore files.☆56Updated 11 months ago
- Checks that all dependencies in your package.json have supported versions installed and complies with your specified node engine version …☆132Updated last week
- Programmatic API to update package.json☆78Updated last week
- ⛳️ Typed command-line arguments parser for Node.js☆171Updated 9 months ago
- Zero-dependency nodejs config seeker.☆158Updated 3 months ago
- A regular expression to match all emoji-only symbols☆64Updated 4 months ago
- Check if the process is running inside a container (Docker/Podman)☆73Updated last year