sindresorhus / safe-stringify
Serialize objects to JSON with handling for circular references
☆155Updated 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
- Make a synchronous function have a timeout☆125Updated 7 months ago
- noop functions to help formatters and syntax highlighters recognize embedded code☆97Updated last year
- A tiny (2.8kB) and fast utility for getting a MIME type from an extension or filename☆318Updated 2 months ago
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆153Updated 5 months ago
- Make a regular expression time out if it takes too long to execute☆210Updated 7 months ago
- Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc☆162Updated 7 months ago
- Remove circular references from objects☆94Updated last year
- Lightweight tsconfig.json parser & paths resolver☆201Updated 3 months ago
- Observe changes to the DOM using an async iterable — A nicer API for MutationObserver☆211Updated 8 months ago
- Make a synchronous function asynchronous by running it in a worker☆249Updated 7 months ago
- Create a transform stream using await instead of callbacks☆70Updated last year
- Async mutex lock for managing access to a shared resource☆124Updated 8 months ago
- Polyfill of `util.parseArgs()`☆123Updated 4 months ago
- Check if a value is a Fetch network error☆139Updated last year
- Resolve things like Node.js — ponyfill for `import.meta.resolve`☆132Updated 10 months ago
- Like `Promise.all()` but for `Map` and `Object`☆195Updated last year
- A tiny (183B to 210B) and fast utility to ascend parent directories☆153Updated 7 months ago
- Convert object keys from camel case☆54Updated 11 months ago
- A more usable typed storage API for Web Extensions☆69Updated last month
- ANSI escape codes for some terminal swag.☆74Updated 2 years ago
- Zero-dependency nodejs config seeker.☆161Updated 4 months ago
- Automatic documentation generator for ESLint plugins and rules.☆97Updated this week
- Rotate an array by a given number of steps☆42Updated 11 months ago
- Resolve package.json `exports` & `imports` maps☆58Updated last year
- Useful utilities for working with Uint8Array (and Buffer)☆252Updated 3 months ago
- Run some code when the process exits☆284Updated last year
- Check if the process is running inside a container (Docker/Podman)☆74Updated last year
- Checks that all dependencies in your package.json have supported versions installed and complies with your specified node engine version …☆135Updated 3 weeks ago
- TypeScript declaration (.d.ts) bundler☆124Updated 2 months ago
- Make presentable errors☆60Updated last year