sindresorhus / safe-stringify
Serialize objects to JSON with handling for circular references
☆156Updated 10 months ago
Alternatives and similar repositories for safe-stringify
Users that are interested in safe-stringify are comparing it to the libraries listed below
Sorting:
- Make a synchronous function have a timeout☆125Updated 8 months ago
- noop functions to help formatters and syntax highlighters recognize embedded code☆97Updated last year
- Remove circular references from objects☆94Updated last year
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆154Updated 2 weeks ago
- Make a regular expression time out if it takes too long to execute☆212Updated 8 months ago
- A tiny (2.8kB) and fast utility for getting a MIME type from an extension or filename☆321Updated 2 months ago
- Observe changes to the DOM using an async iterable — A nicer API for MutationObserver☆212Updated 8 months ago
- Create a transform stream using await instead of callbacks☆70Updated last year
- Lightweight tsconfig.json parser & paths resolver☆202Updated 3 months ago
- Make a synchronous function asynchronous by running it in a worker☆249Updated 7 months ago
- Async mutex lock for managing access to a shared resource☆125Updated 9 months ago
- Polyfill of `util.parseArgs()`☆125Updated last week
- Check if the process is running inside a container (Docker/Podman)☆74Updated last year
- Find a file or directory by walking up parent directories — Zero dependencies☆78Updated 2 months ago
- A tiny (183B to 210B) and fast utility to ascend parent directories☆153Updated 8 months ago
- Measure the size of your npm package distribution☆67Updated 3 years ago
- Convert object keys from camel case☆54Updated 11 months ago
- Encode & decode strings, bytes, and integers to Base62☆86Updated last year
- Like `require-in-the-middle`, but for ESM import☆140Updated this week
- Resolve things like Node.js — ponyfill for `import.meta.resolve`☆133Updated 11 months ago
- Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc☆163Updated 8 months ago
- Make presentable errors☆60Updated last year
- A more usable typed storage API for Web Extensions☆69Updated last month
- Check if a value is a Fetch network error☆140Updated last year
- ⛳️ Typed command-line arguments parser for Node.js☆172Updated 10 months ago
- Block the main thread for a given amount of time☆125Updated 2 years ago
- Node CLI or module to calculate folder size☆74Updated 3 weeks ago
- ☆56Updated 3 weeks ago
- Resolve package.json `exports` & `imports` maps☆59Updated last year
- A regular expression to match all emoji-only symbols☆68Updated 3 weeks ago