sindresorhus / p-mutexLinks
Async mutex lock for managing access to a shared resource
☆135Updated 3 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☆164Updated last year
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆155Updated last week
- Useful utilities for working with Uint8Array (and Buffer)☆263Updated 2 months ago
- Serialize objects to JSON with handling for circular references☆159Updated 4 months ago
- Remove circular references from objects☆98Updated last year
- Lightweight tsconfig.json parser & paths resolver☆226Updated last week
- Like `require-in-the-middle`, but for ESM import☆152Updated this week
- Create a multicast stream that lets multiple consumers independently read the same data☆181Updated 3 months ago
- Observe changes to the DOM using an async iterable — A nicer API for MutationObserver☆222Updated last month
- Make a synchronous function asynchronous by running it in a worker☆252Updated last year
- noop functions to help formatters and syntax highlighters recognize embedded code☆97Updated last year
- Make a synchronous function have a timeout☆125Updated last year
- Check if a value is a Fetch network error☆150Updated last month
- A tiny (414B) and fast utility to convert milliseconds to and from strings.☆239Updated last year
- Dependency-free RFC 3986 URI toolbox☆101Updated this week
- ⚡ Extremely fast, smart & configurable DTS emitter.☆123Updated this week
- A tiny (2.8kB) and fast utility for getting a MIME type from an extension or filename☆329Updated 8 months ago
- Rotate an array by a given number of steps☆46Updated last year
- Node CLI or module to calculate folder size☆81Updated last week
- Merge multiple streams into a unified stream☆59Updated 11 months ago
- 🌈 a small library to print colourful messages☆62Updated last month
- Use requestAnimationFrame as an async iterable, in any JavaScript environment☆173Updated last year
- Useful utilities for working with Fetch☆91Updated 8 months ago
- Perform async work synchronously in Node.js/Bun using `worker_threads` with first-class TypeScript and Yarn P'n'P support.☆247Updated 3 months ago
- ⛳️ Typed command-line arguments parser for Node.js☆177Updated last week
- 🌌 Tiniest body parser in the universe. Built for modern Node.js☆198Updated last month
- Make a regular expression time out if it takes too long to execute☆217Updated last year
- Simple API to create test fixtures on disk☆63Updated last week
- TypeScript declaration (.d.ts) bundler☆140Updated last week
- A more usable typed storage API for Web Extensions☆71Updated 7 months ago