sindresorhus / p-mutex
Async mutex lock for managing access to a shared resource
☆124Updated 6 months ago
Alternatives and similar repositories for p-mutex:
Users that are interested in p-mutex are comparing it to the libraries listed below
- Remove circular references from objects☆94Updated last year
- Observe changes to the DOM using an async iterable — A nicer API for MutationObserver☆209Updated 6 months ago
- Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc☆161Updated 6 months ago
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆146Updated 3 months ago
- Like `require-in-the-middle`, but for ESM import☆133Updated last week
- Serialize objects to JSON with handling for circular references☆154Updated 8 months ago
- Make a synchronous function have a timeout☆125Updated 6 months ago
- Lightweight tsconfig.json parser & paths resolver☆200Updated last month
- Create a multicast stream that lets multiple consumers independently read the same data☆118Updated 6 months ago
- Encode & decode strings, bytes, and integers to Base62☆87Updated 10 months ago
- ECMAScript Proposal, specs, and reference implementation for Error.isError☆107Updated 2 months ago
- Check if the system is in low power mode☆63Updated 7 months ago
- A VSCode Plugin to display V8's optimizations inside JavaScript code☆82Updated 2 years ago
- noop functions to help formatters and syntax highlighters recognize embedded code☆98Updated last year
- Check if a value is a Fetch network error☆135Updated 11 months ago
- Useful utilities for working with Uint8Array (and Buffer)☆251Updated last month
- A more usable typed storage API for Web Extensions☆69Updated last month
- Convert a string to a valid JavaScript identifier☆39Updated 9 months ago
- Convert object keys from camel case☆53Updated 9 months ago
- Merge multiple streams into a unified stream☆56Updated 4 months ago
- ☆39Updated 3 months ago
- Rotate an array by a given number of steps☆29Updated 9 months ago
- Use requestAnimationFrame as an async iterable, in any JavaScript environment☆173Updated last year
- Useful utilities for working with Fetch☆80Updated last month
- Resolve package.json `exports` & `imports` maps☆58Updated last year
- Promisify server.listen for your HTTP/HTTPS/TCP server.☆49Updated last month
- ANSI escape codes for some terminal swag.☆73Updated 2 years ago
- Get a random temporary path☆32Updated last year
- ⚡ Extremely fast & configurable DTS emitter.☆111Updated this week
- 🌈 a small library to print colourful messages☆54Updated 2 months ago