sindresorhus / p-mutexLinks
Async mutex lock for managing access to a shared resource
☆126Updated this week
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☆164Updated 9 months ago
- Remove circular references from objects☆94Updated last year
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆155Updated 3 weeks ago
- Observe changes to the DOM using an async iterable — A nicer API for MutationObserver☆215Updated 10 months ago
- Serialize objects to JSON with handling for circular references☆157Updated last month
- Useful utilities for working with Uint8Array (and Buffer)☆260Updated 5 months ago
- Like `require-in-the-middle`, but for ESM import☆144Updated 3 weeks ago
- Create a multicast stream that lets multiple consumers independently read the same data☆121Updated this week
- Rotate an array by a given number of steps☆44Updated last year
- Lightweight tsconfig.json parser & paths resolver☆221Updated last month
- Use requestAnimationFrame as an async iterable, in any JavaScript environment☆173Updated last year
- Check if a value is a Fetch network error☆144Updated last year
- Make a synchronous function have a timeout☆125Updated 9 months ago
- Merge multiple streams into a unified stream☆57Updated 8 months ago
- Make a regular expression time out if it takes too long to execute☆215Updated 9 months ago
- Useful utilities for working with Fetch☆87Updated 5 months ago
- A tiny (2.8kB) and fast utility for getting a MIME type from an extension or filename☆325Updated 4 months ago
- A VSCode Plugin to display V8's optimizations inside JavaScript code☆82Updated 3 years ago
- Dependency-free RFC 3986 URI toolbox☆95Updated 2 weeks ago
- Measure the size of your npm package distribution☆67Updated 3 years ago
- Make a synchronous function asynchronous by running it in a worker☆251Updated 9 months ago
- ⚡ Extremely fast, smart & configurable DTS emitter.☆116Updated this week
- noop functions to help formatters and syntax highlighters recognize embedded code☆96Updated last year
- Trace the original position through a source map☆107Updated last week
- ☆42Updated last year
- ECMAScript Proposal, specs, and reference implementation for Error.isError☆127Updated last month
- Resolve things like Node.js — ponyfill for `import.meta.resolve`☆134Updated last year
- A utility to build and bisect any version of TypeScript☆87Updated this week
- Transforms CommonJS projects into ESM.☆72Updated last week
- Some simple utilities for nodejs☆25Updated 7 months ago