sindresorhus / p-mutexLinks
Async mutex lock for managing access to a shared resource
☆137Updated 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:
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆156Updated 3 weeks ago
- 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)☆265Updated 2 months ago
- Remove circular references from objects☆98Updated last year
- Observe changes to the DOM using an async iterable — A nicer API for MutationObserver☆222Updated 2 months ago
- Serialize objects to JSON with handling for circular references☆160Updated 5 months ago
- Lightweight tsconfig.json parser & paths resolver☆227Updated 2 weeks ago
- Like `require-in-the-middle`, but for ESM import☆154Updated 3 weeks ago
- noop functions to help formatters and syntax highlighters recognize embedded code☆98Updated 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.☆241Updated last year
- Use requestAnimationFrame as an async iterable, in any JavaScript environment☆173Updated last year
- A tiny (2.8kB) and fast utility for getting a MIME type from an extension or filename☆333Updated 8 months ago
- Make a synchronous function have a timeout☆125Updated last year
- Create a multicast stream that lets multiple consumers independently read the same data☆182Updated 4 months ago
- Resolve things like Node.js — ponyfill for `import.meta.resolve`☆137Updated 2 months ago
- ⚡ Extremely fast, smart & configurable DTS emitter.☆126Updated last week
- Node CLI or module to calculate folder size☆82Updated 3 weeks ago
- Dependency-free RFC 3986 URI toolbox☆101Updated last week
- 🌈 a small library to print colourful messages☆62Updated 2 months ago
- Make a regular expression time out if it takes too long to execute☆218Updated last week
- Perform async work synchronously in Node.js/Bun using `worker_threads` with first-class TypeScript and Yarn P'n'P support.☆256Updated 3 months ago
- Useful utilities for working with Fetch☆94Updated last week
- Make a synchronous function asynchronous by running it in a worker☆252Updated last year
- Deduplication tool for pnpm-lock.yaml files☆68Updated 2 years ago
- TypeScript declaration (.d.ts) bundler☆140Updated 3 weeks ago
- 🛰 JSON parse & stringify with support for cyclic objects, functions, dates, regex, infinity, undefined, null, NaN, Classes, Instances☆175Updated 6 months ago
- Merge multiple streams into a unified stream☆59Updated last year
- A utility to find and parse tsconfig files without depending on typescript☆320Updated this week
- A VSCode Plugin to display V8's optimizations inside JavaScript code☆82Updated 3 years ago