sindresorhus / p-mutexLinks
Async mutex lock for managing access to a shared resource
☆139Updated 5 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☆165Updated last year
- Remove circular references from objects☆100Updated last year
- Serialize objects to JSON with handling for circular references☆162Updated 6 months ago
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆158Updated 2 months ago
- Useful utilities for working with Uint8Array (and Buffer)☆271Updated last month
- Observe changes to the DOM using an async iterable — A nicer API for MutationObserver☆223Updated 3 months ago
- Create a multicast stream that lets multiple consumers independently read the same data☆183Updated 5 months ago
- Like `require-in-the-middle`, but for ESM import☆160Updated 2 months ago
- Check if a value is a Fetch network error☆154Updated 3 months ago
- Lightweight tsconfig.json parser & paths resolver☆232Updated this week
- Make a synchronous function have a timeout☆126Updated last year
- Make a synchronous function asynchronous by running it in a worker☆253Updated last year
- noop functions to help formatters and syntax highlighters recognize embedded code☆99Updated 2 years ago
- Rotate an array by a given number of steps☆46Updated last year
- Get a random temporary path☆34Updated 2 years ago
- Dependency-free RFC 3986 URI toolbox☆102Updated 2 weeks ago
- 🛰 JSON parse & stringify with support for cyclic objects, functions, dates, regex, infinity, undefined, null, NaN, Classes, Instances☆175Updated 8 months ago
- Run some code when the process exits☆298Updated last month
- Perform async work synchronously in Node.js/Bun using `worker_threads` with first-class TypeScript and Yarn P'n'P support.☆260Updated 5 months ago
- Make a regular expression time out if it takes too long to execute☆219Updated last month
- Use requestAnimationFrame as an async iterable, in any JavaScript environment☆174Updated last year
- ⚡ Extremely fast, smart & configurable DTS emitter.☆129Updated this week
- Convert object keys from camel case☆57Updated last year
- A tiny (2.8kB) and fast utility for getting a MIME type from an extension or filename☆335Updated 10 months ago
- Useful utilities for working with Fetch☆96Updated last month
- Merge multiple streams into a unified stream☆62Updated last year
- Fastest RFC4122 UUIDs generator for Node.js☆99Updated this week
- Node CLI or module to calculate folder size☆82Updated last month
- Trace the original position through a source map☆109Updated 5 months ago
- Tiny terminal spinner☆279Updated 3 months ago