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:
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆155Updated 2 months ago
- Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc☆164Updated 11 months ago
- Serialize objects to JSON with handling for circular references☆158Updated 3 months ago
- Useful utilities for working with Uint8Array (and Buffer)☆261Updated 2 weeks ago
- Observe changes to the DOM using an async iterable — A nicer API for MutationObserver☆222Updated this week
- Create a multicast stream that lets multiple consumers independently read the same data☆178Updated 2 months ago
- Remove circular references from objects☆94Updated last year
- Like `require-in-the-middle`, but for ESM import☆148Updated 2 weeks ago
- Lightweight tsconfig.json parser & paths resolver☆222Updated 3 months ago
- Check if a value is a Fetch network error☆147Updated last year
- Make a synchronous function have a timeout☆125Updated 11 months ago
- Useful utilities for working with Fetch☆91Updated 7 months ago
- Make a synchronous function asynchronous by running it in a worker☆251Updated 11 months ago
- ⚡ Extremely fast, smart & configurable DTS emitter.☆121Updated last week
- 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☆327Updated 6 months ago
- Make a regular expression time out if it takes too long to execute☆216Updated 11 months ago
- Rotate an array by a given number of steps☆45Updated last year
- Use requestAnimationFrame as an async iterable, in any JavaScript environment☆173Updated last year
- Shame your node_modules type checking speed☆117Updated 8 months ago
- A tiny (414B) and fast utility to convert milliseconds to and from strings.☆239Updated last year
- ⛳️ Typed command-line arguments parser for Node.js☆176Updated last week
- Simple API to create test fixtures on disk☆63Updated 2 months ago
- ☁️ Publish your npm package to a GitHub repository branch☆62Updated last week
- Node CLI or module to calculate folder size☆81Updated 4 months ago
- 🌈 a small library to print colourful messages☆61Updated last week
- A tiny RPC library and spec, inspired by JSON-RPC 2.0 and tRPC.☆95Updated last year
- TypeScript declaration (.d.ts) bundler☆139Updated 2 weeks ago
- Get a random temporary path☆32Updated last year
- Perform async work synchronously in Node.js/Bun using `worker_threads` with first-class TypeScript and Yarn P'n'P support.☆246Updated last month