sindresorhus / make-asynchronousLinks
Make a synchronous function asynchronous by running it in a worker
☆251Updated 11 months ago
Alternatives and similar repositories for make-asynchronous
Users that are interested in make-asynchronous are comparing it to the libraries listed below
Sorting:
- Make a synchronous function have a timeout☆125Updated 11 months ago
- Serialize objects to JSON with handling for circular references☆157Updated 2 months ago
- noop functions to help formatters and syntax highlighters recognize embedded code☆96Updated last year
- Make a regular expression time out if it takes too long to execute☆216Updated 11 months ago
- A tiny (414B) and fast utility to convert milliseconds to and from strings.☆239Updated last year
- Make an asynchronous function synchronous☆322Updated 2 months ago
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆155Updated 2 months ago
- Check if a value is a Fetch network error☆145Updated last year
- 🌌 Tiniest body parser in the universe. Built for modern Node.js☆197Updated 2 months ago
- Create a transform stream using await instead of callbacks☆70Updated last year
- Read and write files atomically and reliably.☆169Updated last year
- A tiny (190B) and extremely fast utility to generate random IDs of fixed length☆201Updated 10 months ago
- A tiny (183B to 210B) and fast utility to ascend parent directories☆155Updated 11 months ago
- Split an iterable into evenly sized chunks☆153Updated last year
- Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc☆164Updated 11 months ago
- A tiny (215B) and fast utility to expand a flattened object☆201Updated 2 years ago
- 📑 Zero-dependency, fast logging library for Node, Browser and Workers☆261Updated 2 weeks ago
- Block the main thread for a given amount of time☆124Updated 2 years ago
- Async mutex lock for managing access to a shared resource☆131Updated last month
- ☆108Updated 4 years ago
- A tiny (2.8kB) and fast utility for getting a MIME type from an extension or filename☆328Updated 6 months ago
- Inspect the state of a promise☆130Updated last year
- ☆167Updated last year
- Use requestAnimationFrame as an async iterable, in any JavaScript environment☆173Updated last year
- Observe changes to the DOM using an async iterable — A nicer API for MutationObserver☆216Updated last year
- ⛳️ Typed command-line arguments parser for Node.js☆177Updated 3 weeks ago
- TypeScript package which smartly trims and strips indentation from multi-line strings☆171Updated last year
- Useful utilities for working with Uint8Array (and Buffer)☆261Updated 2 weeks ago
- Create a multicast stream that lets multiple consumers independently read the same data☆173Updated last month
- Remove circular references from objects☆94Updated last year