sindresorhus / p-mutexLinks
Async mutex lock for managing access to a shared resource
☆139Updated 4 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
- Useful utilities for working with Uint8Array (and Buffer)☆271Updated last week
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆157Updated last month
- Like `require-in-the-middle`, but for ESM import☆156Updated last month
- Serialize objects to JSON with handling for circular references☆161Updated 6 months ago
- Lightweight tsconfig.json parser & paths resolver☆229Updated last month
- Remove circular references from objects☆100Updated last year
- Observe changes to the DOM using an async iterable — A nicer API for MutationObserver☆223Updated 2 months ago
- Check if a value is a Fetch network error☆152Updated 2 months ago
- Create a multicast stream that lets multiple consumers independently read the same data☆183Updated 4 months ago
- noop functions to help formatters and syntax highlighters recognize embedded code☆99Updated last year
- A tiny (2.8kB) and fast utility for getting a MIME type from an extension or filename☆333Updated 9 months ago
- Node CLI or module to calculate folder size☆82Updated last week
- ⚡ Extremely fast, smart & configurable DTS emitter.☆127Updated this week
- ⏱️Zero CPU overhead, zero dependency, true event-loop blocking sleep ⏱️☆84Updated 5 years ago
- Perform async work synchronously in Node.js/Bun using `worker_threads` with first-class TypeScript and Yarn P'n'P support.☆258Updated 4 months ago
- Dependency-free RFC 3986 URI toolbox☆102Updated last month
- Make a synchronous function have a timeout☆126Updated last year
- Use requestAnimationFrame as an async iterable, in any JavaScript environment☆174Updated last year
- Useful utilities for working with Fetch☆96Updated 3 weeks ago
- TypeScript declaration (.d.ts) bundler☆140Updated last month
- Make a regular expression time out if it takes too long to execute☆219Updated 3 weeks ago
- Shame your node_modules type checking speed☆119Updated 11 months ago
- Deduplication tool for pnpm-lock.yaml files☆68Updated 2 years ago
- Merge multiple streams into a unified stream☆61Updated last year
- Make a synchronous function asynchronous by running it in a worker☆253Updated last year
- A tiny (414B) and fast utility to convert milliseconds to and from strings.☆243Updated last year
- Trace the original position through a source map☆109Updated 5 months ago
- 🛰 JSON parse & stringify with support for cyclic objects, functions, dates, regex, infinity, undefined, null, NaN, Classes, Instances☆175Updated 7 months ago
- 🌈 a small library to print colourful messages☆62Updated 2 months ago