await-lock
npmv3.0.0Mutex locks for async functions
Overview
await-lock is an npm package that mutex locks for async functions. It is very popular, with about 971.1K downloads per week and 1 known dependents in the graph. The latest version is 3.0.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need mutex locks for async functions and value a battle-tested, widely-adopted solution.
When not to use it
Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.
Pros
- Large, well-established user base (971.1K weekly downloads).
- Clear open-source license (MIT).
Cons
- No bundled TypeScript types (may require a separate @types package).
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of await-lock.
Dependencies
Dev (9)
Used by
Popular packages that depend on await-lock.
Alternatives to await-lock
Promise based HTTP client for the browser and node.js
Asynchronous bootstrapping of Node applications
limits calls to functions that return promises
A utility to retry failed async methods.
Fast, in memory work queue
A tool set for CSS: fast detailed parser (CSS → AST), walker (AST traversal), generator (AST → CSS) and lexer (validation and matching) based on specs and browser implementations
An HTTP/1.1 client, written from scratch for Node.js
Neo-Async is a drop-in replacement for Async, it almost fully covers its functionality and runs faster
Frequently installed together
The Expo SDK
React is a JavaScript library for building user interfaces.
TypeScript definitions for react
A framework for building native apps using React
The fastest and simplest library for SQLite in Node.js.
TypeScript definitions for better-sqlite3
TypeScript definitions for node
Version history
| Version | Published | License |
|---|---|---|
| 3.0.0latest | 1 year ago | MIT |
| 2.2.2 | 4 years ago | MIT |
| 2.2.1 | 4 years ago | MIT |
| 2.2.0 | 4 years ago | MIT |
| 2.1.0 | 5 years ago | MIT |
| 2.0.1 | 6 years ago | MIT |
| 2.0.0 | 6 years ago | MIT |
| 1.2.1 | 6 years ago | MIT |
| 1.2.0 | 6 years ago | MIT |
| 1.1.3 | 8 years ago | MIT |
| 1.1.2 | 9 years ago | MIT |
| 1.1.1 | 11 years ago | MIT |
| 1.1.0 | 11 years ago | MIT |
| 1.0.0 | 11 years ago | MIT |
| 0.0.1 | 11 years ago | MIT |
| 0.0.0 | 11 years ago | MIT |
Maintainers
Frequently asked questions
How do I install await-lock?
Run `npm install await-lock` to add await-lock to your npm project.
What license is await-lock released under?
await-lock is distributed under the MIT license.
How popular is await-lock?
await-lock has approximately 971,100 downloads per week and 1 known dependent packages.