sindresorhus / p-mutexLinks
Async mutex lock for managing access to a shared resource
☆140Updated 6 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
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆161Updated 3 months ago
- Useful utilities for working with Uint8Array (and Buffer)☆272Updated 2 months ago
- Serialize objects to JSON with handling for circular references☆162Updated 8 months ago
- Remove circular references from objects☆100Updated last year
- Make a synchronous function have a timeout☆126Updated last year
- Check if a value is a Fetch network error☆154Updated 4 months ago
- Create a multicast stream that lets multiple consumers independently read the same data☆185Updated 6 months ago
- Like `require-in-the-middle`, but for ESM import☆164Updated this week
- Use requestAnimationFrame as an async iterable, in any JavaScript environment☆174Updated 2 years ago
- Observe changes to the DOM using an async iterable — A nicer API for MutationObserver☆223Updated 4 months ago
- 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
- Lightweight tsconfig.json parser & paths resolver☆236Updated 3 weeks ago
- Node CLI or module to calculate folder size☆82Updated 2 months ago
- A tiny (2.8kB) and fast utility for getting a MIME type from an extension or filename☆336Updated 11 months ago
- Merge multiple streams into a unified stream☆63Updated last year
- A tiny (414B) and fast utility to convert milliseconds to and from strings.☆246Updated 2 years ago
- Resolve things like Node.js — ponyfill for `import.meta.resolve`☆142Updated 5 months ago
- Make a regular expression time out if it takes too long to execute☆220Updated 2 months ago
- 🛰 JSON parse & stringify with support for cyclic objects, functions, dates, regex, infinity, undefined, null, NaN, Classes, Instances☆176Updated 9 months ago
- ⚡ Extremely fast, smart & configurable DTS emitter.☆134Updated this week
- Fastest RFC4122 UUIDs generator for Node.js☆99Updated last week
- Useful utilities for working with Fetch☆97Updated 2 months ago
- Dependency-free RFC 3986 URI toolbox☆102Updated last month
- 🌌 Tiniest body parser in the universe. Built for modern Node.js☆202Updated last month
- Rotate an array by a given number of steps☆46Updated last year
- Deduplication tool for pnpm-lock.yaml files☆68Updated 2 years ago
- Use @swc-node/register instead☆86Updated 3 years ago
- Run some code when the process exits☆300Updated 2 months ago