sindresorhus / make-asynchronous
Make a synchronous function asynchronous by running it in a worker
☆248Updated 2 months ago
Related projects ⓘ
Alternatives and complementary repositories for make-asynchronous
- Make a synchronous function have a timeout☆124Updated 2 months ago
- Serialize objects to JSON with handling for circular references☆149Updated 4 months ago
- Make an asynchronous function synchronous☆309Updated 2 years ago
- Block the main thread for a given amount of time☆124Updated last year
- noop functions to help formatters and syntax highlighters recognize embedded code☆98Updated 11 months ago
- Make a regular expression time out if it takes too long to execute☆207Updated 2 months ago
- A tiny (215B) and fast utility to expand a flattened object☆201Updated last year
- Inspect the state of a promise☆128Updated 8 months ago
- A tiny (414B) and fast utility to convert milliseconds to and from strings.☆216Updated 10 months ago
- Read and write files atomically and reliably.☆161Updated 3 months ago
- Split an iterable into evenly sized chunks☆155Updated 10 months ago
- Observe changes to the DOM using an async iterable — A nicer API for MutationObserver☆205Updated 3 months ago
- A tiny (2.8kB) and fast utility for getting a MIME type from an extension or filename☆312Updated 10 months ago
- Check if a value is a Fetch network error☆126Updated 7 months ago
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆141Updated this week
- Create a transform stream using await instead of callbacks☆71Updated last year
- A simple bundler for your delicious modules☆169Updated 2 years ago
- Like `Promise.all()` but for `Map` and `Object`☆193Updated last year
- A tiny (183B to 210B) and fast utility to ascend parent directories☆149Updated 2 months ago
- 🌌 Tiniest body parser in the universe. Built for modern Node.js☆170Updated last month
- ☆107Updated 3 years ago
- A tiny (190B) and extremely fast utility to generate random IDs of fixed length☆195Updated last month
- Automatic documentation generator for ESLint plugins and rules.☆92Updated this week
- Get the ID of the process that uses a certain port☆137Updated last year
- ⛳️ Typed command-line arguments parser for Node.js☆168Updated 4 months ago
- Unabashedly-barebones memoization library with an aim toward speed☆119Updated last year
- Lightweight tsconfig.json parser & paths resolver☆187Updated 2 months ago
- Async mutex lock for managing access to a shared resource☆117Updated 3 months ago
- Polyfill of `util.parseArgs()`☆122Updated 2 months ago
- 🤠 Make using Node.js safe again with Deno-like permissions☆205Updated last year