sindresorhus / safe-stringify
Serialize objects to JSON with handling for circular references
☆154Updated 7 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☆124Updated 5 months ago
- noop functions to help formatters and syntax highlighters recognize embedded code☆98Updated last year
- Make a regular expression time out if it takes too long to execute☆210Updated 5 months ago
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆146Updated 3 months ago
- Remove circular references from objects☆95Updated 11 months ago
- Lightweight tsconfig.json parser & paths resolver☆197Updated 3 weeks ago
- A tiny (2.8kB) and fast utility for getting a MIME type from an extension or filename☆315Updated this week
- Observe changes to the DOM using an async iterable — A nicer API for MutationObserver☆208Updated 6 months ago
- Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc☆160Updated 5 months ago
- Create a transform stream using await instead of callbacks☆70Updated last year
- Async mutex lock for managing access to a shared resource☆123Updated 6 months ago
- Make a synchronous function asynchronous by running it in a worker☆248Updated 4 months ago
- A tiny (183B to 210B) and fast utility to ascend parent directories☆152Updated 5 months ago
- Polyfill of `util.parseArgs()`☆123Updated last month
- A more usable typed storage API for Web Extensions☆68Updated 2 weeks ago
- Resolve package.json `exports` & `imports` maps☆58Updated last year
- ⛳️ Typed command-line arguments parser for Node.js☆171Updated 7 months ago
- Block the main thread for a given amount of time☆124Updated last year
- Rotate an array by a given number of steps☆29Updated 8 months ago
- Automatic documentation generator for ESLint plugins and rules.☆96Updated this week
- Use requestAnimationFrame as an async iterable, in any JavaScript environment☆173Updated last year
- Resolve things like Node.js — ponyfill for `import.meta.resolve`☆130Updated 8 months ago
- Zero-dependency nodejs config seeker.☆159Updated 2 months ago
- Render readable & responsive tables in the terminal☆52Updated last week
- Trace the original position through a source map☆107Updated 11 months ago
- A simple Node.js task runner☆129Updated this week
- Find and load config files with joy.☆146Updated 2 years ago
- get the file directory from import.meta.url☆116Updated last year
- Convert object keys from camel case☆53Updated 8 months ago
- Script to remove unnecessary properties from package.json on prepublish hook☆54Updated 2 years ago