sindresorhus / p-mutexLinks
Async mutex lock for managing access to a shared resource
☆131Updated last month
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 11 months ago
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆155Updated 2 months ago
- Useful utilities for working with Uint8Array (and Buffer)☆261Updated last week
- Remove circular references from objects☆94Updated last year
- Serialize objects to JSON with handling for circular references☆157Updated 2 months ago
- Lightweight tsconfig.json parser & paths resolver☆222Updated 3 months ago
- Observe changes to the DOM using an async iterable — A nicer API for MutationObserver☆216Updated last year
- Create a multicast stream that lets multiple consumers independently read the same data☆173Updated last month
- Make a synchronous function asynchronous by running it in a worker☆251Updated 11 months ago
- Like `require-in-the-middle`, but for ESM import☆146Updated 2 months ago
- Check if a value is a Fetch network error☆145Updated last year
- noop functions to help formatters and syntax highlighters recognize embedded code☆96Updated last year
- A tiny (2.8kB) and fast utility for getting a MIME type from an extension or filename☆328Updated 6 months ago
- Make a synchronous function have a timeout☆125Updated 11 months ago
- Perform async work synchronously in Node.js/Bun using `worker_threads` with first-class TypeScript and Yarn P'n'P support.☆244Updated last month
- Use requestAnimationFrame as an async iterable, in any JavaScript environment☆173Updated last year
- ⚡ Extremely fast, smart & configurable DTS emitter.☆120Updated last week
- 🌈 a small library to print colourful messages☆61Updated 7 months ago
- Resolve things like Node.js — ponyfill for `import.meta.resolve`☆135Updated last year
- A tiny (414B) and fast utility to convert milliseconds to and from strings.☆239Updated last year
- Make a regular expression time out if it takes too long to execute☆216Updated 11 months ago
- A utility to build and bisect any version of TypeScript☆86Updated this week
- Rotate an array by a given number of steps☆45Updated last year
- 🛰 JSON parse & stringify with support for cyclic objects, functions, dates, regex, infinity, undefined, null, NaN, Classes, Instances☆173Updated 4 months ago
- Merge multiple streams into a unified stream☆57Updated 9 months ago
- A utility to find and parse tsconfig files without depending on typescript☆313Updated this week
- Node CLI or module to calculate folder size☆81Updated 3 months ago
- A VSCode Plugin to display V8's optimizations inside JavaScript code☆82Updated 3 years ago
- Get a random temporary path☆32Updated last year
- Deduplication tool for pnpm-lock.yaml files☆68Updated 2 years ago