Package
when
A lightweight Promises/A+ and when() implementation, plus other async goodies.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 1.4m
- +13% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 9 years ago
- v3.7.8
- GitHub stars
- -
- Open issues / PRs
- - / -
- Contributors
- -
- Commits, last 52 weeks
- -
Downloads
Last week 2026-09-15 to 2026-09-21
1,361,954 downloads last week, 5,229,431 in the last month. The 12-month change of +13% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 063 in total
- Latest version
- 3.7.8, 20 Feb 20179 years ago
- First published
- 29 May 2012
- Last push to GitHub
- -
- Repository archived
- -
- Open issues
- -
- Open pull requests
- -
- Commits, last 52 weeks
- -
- Dependents on npm
- 1,384
Major versions
- v3 first release 3.0.0, 17 Mar 2014
- v2 first release 2.0.0, 18 Mar 2013
- v1 first release 1.2.0, 29 May 2012
Recent releases
| Version | Published |
|---|---|
| 3.7.8 | 20 Feb 2017 |
| 3.7.7 | 24 Dec 2015 |
| 3.7.6 | 23 Dec 2015 |
| 3.7.5 | 21 Nov 2015 |
| 3.7.4 | 24 Oct 2015 |
| 3.7.3 | 27 Apr 2015 |
| 3.7.2 | 30 Jan 2015 |
| 3.7.1 | 28 Jan 2015 |
| 3.7.0 | 26 Jan 2015 |
| 3.6.4 | 14 Dec 2014 |
| 3.6.3 | 14 Nov 2014 |
| 3.6.2 | 13 Nov 2014 |
| 3.6.1 | 11 Nov 2014 |
| 3.6.0 | 7 Nov 2014 |
- Module format
- -Not determined from package.json
- TypeScript types
- -
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- -
- Dependencies (0)
- None
npm install when- jsDelivr
https://cdn.jsdelivr.net/npm/when@3.7.8/ - unpkg
https://unpkg.com/when@3.7.8/ - esm.sh
https://esm.sh/when@3.7.8
Indexability: Not indexed (discovery only): GitHub data not fetched yet.