sindresorhus / p-mutex
Async mutex lock for managing access to a shared resource
☆123Updated 5 months ago
Alternatives and similar repositories for p-mutex:
Users that are interested in p-mutex are comparing it to the libraries listed below
- Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc☆160Updated 5 months ago
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆146Updated 2 months ago
- Lightweight tsconfig.json parser & paths resolver☆197Updated 3 weeks ago
- Remove circular references from objects☆95Updated 11 months ago
- Observe changes to the DOM using an async iterable — A nicer API for MutationObserver☆208Updated 5 months ago
- Serialize objects to JSON with handling for circular references☆154Updated 7 months ago
- Create a multicast stream that lets multiple consumers independently read the same data☆118Updated 5 months ago
- 📟 A tiny, higher level interface around child_process☆169Updated last month
- Like `require-in-the-middle`, but for ESM import☆113Updated last week
- Merge multiple streams into a unified stream☆56Updated 3 months ago
- Useful utilities for working with Uint8Array (and Buffer)☆247Updated 3 weeks ago
- Check if a value is a Fetch network error☆131Updated 10 months ago
- A simple Node.js task runner☆129Updated this week
- ⚡ Extremely fast & configurable DTS emitter.☆111Updated this week
- A tiny (2.8kB) and fast utility for getting a MIME type from an extension or filename☆311Updated last year
- Rotate an array by a given number of steps☆29Updated 8 months ago
- Use requestAnimationFrame as an async iterable, in any JavaScript environment☆173Updated last year
- A more usable typed storage API for Web Extensions☆68Updated 2 weeks ago
- Encode & decode strings, bytes, and integers to Base62☆87Updated 9 months ago
- ANSI escape codes for some terminal swag.☆72Updated 2 years ago
- Deduplication tool for pnpm-lock.yaml files☆67Updated 2 years ago
- Make a synchronous function have a timeout☆124Updated 5 months ago
- Convert a string to a valid JavaScript identifier☆39Updated 8 months ago
- A lightweight, no dependency, pluggable CLI spinner library.☆37Updated 2 months ago
- TypeScript declaration (.d.ts) bundler☆106Updated last month
- 🌈 a small library to print colourful messages☆53Updated last month
- Check if the system is in low power mode☆62Updated 6 months ago
- Get a random temporary path☆32Updated last year
- Utility functions for working with TypeScript's API. Successor to the wonderful tsutils. 🛠️️☆91Updated this week
- Resolve package.json `exports` & `imports` maps☆58Updated last year