sindresorhus / p-mutexLinks
Async mutex lock for managing access to a shared resource
☆126Updated 9 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☆163Updated 8 months ago
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆154Updated last month
- Observe changes to the DOM using an async iterable — A nicer API for MutationObserver☆214Updated 9 months ago
- Lightweight tsconfig.json parser & paths resolver☆207Updated last week
- Rotate an array by a given number of steps☆44Updated last year
- Serialize objects to JSON with handling for circular references☆156Updated 11 months ago
- Remove circular references from objects☆94Updated last year
- Encode & decode strings, bytes, and integers to Base62☆87Updated last year
- Use requestAnimationFrame as an async iterable, in any JavaScript environment☆173Updated last year
- Like `require-in-the-middle`, but for ESM import☆140Updated last week
- Create a multicast stream that lets multiple consumers independently read the same data☆119Updated 9 months ago
- Useful utilities for working with Uint8Array (and Buffer)☆256Updated 4 months ago
- A tiny (2.8kB) and fast utility for getting a MIME type from an extension or filename☆322Updated 3 months ago
- Check if a value is a Fetch network error☆140Updated last year
- Make a synchronous function have a timeout☆125Updated 8 months ago
- TypeScript declaration (.d.ts) bundler☆127Updated 3 months ago
- A more usable typed storage API for Web Extensions☆69Updated 2 months ago
- Merge multiple streams into a unified stream☆57Updated 7 months ago
- A VSCode Plugin to display V8's optimizations inside JavaScript code☆82Updated 2 years ago
- ⚡ Extremely fast, smart & configurable DTS emitter.☆115Updated this week
- 🌈 a small library to print colourful messages☆59Updated 4 months ago
- An ESnext spec-compliant `DisposableStack`, `AsyncDisposableStack`, `Symbol.dispose`, and `Symbol.asyncDispose` shim/polyfill/replacement…☆31Updated 2 weeks ago
- ECMAScript Decorators for Function Expressions and Declarations☆54Updated last year
- (Draft) Specifications for `__PURE__` compiler notation et al.☆148Updated 5 months ago
- Useful utilities for working with Fetch☆86Updated 3 months ago
- ANSI escape codes for some terminal swag.☆74Updated 2 years ago
- Compile multiple TypeScript projects into multiple targets.☆46Updated last year
- Resolve things like Node.js — ponyfill for `import.meta.resolve`☆133Updated 11 months ago
- Get a random temporary path☆32Updated last year
- A TC39 proposal for function memoization in the JavaScript language.☆79Updated 2 years ago