Package
q
A library for promises (CommonJS/Promises/A,B,D)
Deprecated on npm
You or someone you depend on is using Q, the JavaScript Promise library that gave JavaScript developers strong feelings about promises. They can almost certainly migrate to the native JavaScript promise now. Thank you literally everyone for joining me in this bet against the odds. Be excellent to each other.
(For a CapTP with native promises, see @endo/eventual-send and @endo/captp)Key numbers
As of 25 Sept 2026
- Weekly downloads
- 12.8m
- +2% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 8 years ago
- v1.5.1
- GitHub stars
- 15k
- 1.2k forks
- Open issues / PRs
- 101 / 14
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
12,785,007 downloads last week, 51,437,615 in the last month. The 12-month change of +2% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 075 in total
- Latest version
- 1.5.1, 19 Oct 20178 years ago
- First published
- 22 Dec 2010
- Last push to GitHub
- 8 Nov 20231,051 days before the snapshot
- Repository archived
- Yes
- Open issues
- 101
- Open pull requests
- 14
- Commits, last 52 weeks
- 0
- Dependents on npm
- -
Major versions
- v2 first release 2.0.0, 20 Mar 2014
- v1 first release 1.0.0, 4 Jan 2014
- v0 first release 0.1.6, 22 Dec 2010
Recent releases
| Version | Published |
|---|---|
| 1.5.1 | 19 Oct 2017 |
| 1.5.0 | 22 Mar 2017 |
| 1.4.1 | 17 May 2015 |
| 1.4.0 | 9 May 2015 |
| 1.3.0 | 26 Apr 2015 |
| 1.2.1 | 25 Apr 2015 |
| 1.2.0 | 22 Feb 2015 |
| 2.0.3 | 31 Jan 2015 |
| 1.1.2 | 22 Nov 2014 |
| 1.1.1 | 10 Nov 2014 |
| 1.1.0 | 10 Nov 2014 |
| 2.0.2 | 6 Jun 2014 |
| 2.0.1 | 20 Mar 2014 |
| 2.0.0 | 20 Mar 2014 |
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- >=0.6.0
- Runtimes
- -
- Unpacked size (npm)
- -
- Dependencies (0)
- None
npm install q- jsDelivr
https://cdn.jsdelivr.net/npm/q@1.5.1/ - unpkg
https://unpkg.com/q@1.5.1/ - esm.sh
https://esm.sh/q@1.5.1
Indexability: Not indexed (discovery only): deprecated.