sindresorhus / p-mutexLinks
Async mutex lock for managing access to a shared resource
☆133Updated 2 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☆155Updated 3 months ago
- Remove circular references from objects☆93Updated last year
- Useful utilities for working with Uint8Array (and Buffer)☆264Updated last month
- Lightweight tsconfig.json parser & paths resolver☆225Updated 4 months ago
- Serialize objects to JSON with handling for circular references☆158Updated 4 months ago
- Check if a value is a Fetch network error☆149Updated last week
- Observe changes to the DOM using an async iterable — A nicer API for MutationObserver☆222Updated 3 weeks ago
- Like `require-in-the-middle`, but for ESM import☆148Updated this week
- Create a multicast stream that lets multiple consumers independently read the same data☆178Updated 2 months ago
- noop functions to help formatters and syntax highlighters recognize embedded code☆97Updated last year
- A tiny (2.8kB) and fast utility for getting a MIME type from an extension or filename☆328Updated 7 months ago
- Make a synchronous function asynchronous by running it in a worker☆251Updated last year
- ⚡ Extremely fast, smart & configurable DTS emitter.☆121Updated this week
- Make a synchronous function have a timeout☆125Updated last year
- 🌌 Tiniest body parser in the universe. Built for modern Node.js☆200Updated 2 weeks ago
- Dependency-free RFC 3986 URI toolbox☆99Updated last week
- Rotate an array by a given number of steps☆45Updated last year
- Node CLI or module to calculate folder size☆81Updated last week
- Tiny terminal spinner☆265Updated last week
- A utility to find and parse tsconfig files without depending on typescript☆318Updated this week
- Make a regular expression time out if it takes too long to execute☆216Updated last year
- Perform async work synchronously in Node.js/Bun using `worker_threads` with first-class TypeScript and Yarn P'n'P support.☆246Updated 2 months ago
- Useful utilities for working with Fetch☆91Updated 7 months ago
- ☁️ Publish your npm package to a GitHub repository branch☆63Updated 3 weeks ago
- 🛰 JSON parse & stringify with support for cyclic objects, functions, dates, regex, infinity, undefined, null, NaN, Classes, Instances☆174Updated 5 months ago
- A tiny (414B) and fast utility to convert milliseconds to and from strings.☆239Updated last year
- TypeScript declaration (.d.ts) bundler☆140Updated last month
- Use requestAnimationFrame as an async iterable, in any JavaScript environment☆173Updated last year
- Type-safe and Promisified API for Web Worker and Iframe☆195Updated last year