sindresorhus / p-mutexLinks
Async mutex lock for managing access to a shared resource
☆127Updated 10 months ago
Alternatives and similar repositories for p-mutex
Users that are interested in p-mutex are comparing it to the libraries listed below
Sorting:
- Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc☆163Updated 9 months ago
- Remove circular references from objects☆94Updated last year
- Observe changes to the DOM using an async iterable — A nicer API for MutationObserver☆215Updated 10 months ago
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆155Updated this week
- Make a synchronous function have a timeout☆125Updated 9 months ago
- Serialize objects to JSON with handling for circular references☆157Updated 3 weeks ago
- Create a multicast stream that lets multiple consumers independently read the same data☆119Updated 9 months ago
- Rotate an array by a given number of steps☆44Updated last year
- Lightweight tsconfig.json parser & paths resolver☆217Updated last month
- Useful utilities for working with Uint8Array (and Buffer)☆258Updated 4 months ago
- Like `require-in-the-middle`, but for ESM import☆143Updated last week
- noop functions to help formatters and syntax highlighters recognize embedded code☆97Updated last year
- Use requestAnimationFrame as an async iterable, in any JavaScript environment☆173Updated last year
- Merge multiple streams into a unified stream☆57Updated 7 months ago
- Make a regular expression time out if it takes too long to execute☆213Updated 9 months ago
- 🌈 a small library to print colourful messages☆59Updated 5 months ago
- A more usable typed storage API for Web Extensions☆70Updated 3 months ago
- Check if the system is in low power mode☆64Updated 10 months ago
- ECMAScript Proposal, specs, and reference implementation for Error.isError☆127Updated 3 weeks ago
- Check if a value is a Fetch network error☆141Updated last year
- Convert a string to a valid JavaScript identifier☆41Updated last year
- ☆42Updated 11 months ago
- ANSI escape codes for some terminal swag.☆74Updated 2 years ago
- Create a transform stream using await instead of callbacks☆70Updated last year
- ⚡ Extremely fast, smart & configurable DTS emitter.☆115Updated this week
- Encode & decode strings, bytes, and integers to Base62☆87Updated last year
- Tools for working with ESTree AST☆63Updated last month
- Resolve things like Node.js — ponyfill for `import.meta.resolve`☆134Updated last year
- Utility functions for working with TypeScript's API. Successor to the wonderful tsutils. 🛠️️☆99Updated this week
- Hot module reloading for nodejs☆108Updated 3 months ago