Skip to content
JS
Package

when

A lightweight Promises/A+ and when() implementation, plus other async goodies.

v3.7.8, 20 Feb 2017MIT-Types: -Promises and async control flow
$ npm install when

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
0500k1m1.5m2mSept 2025Mar 2026Sept 2026High 1.7m (9 Jun 2026)Low 495.6k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

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

  1. v3 first release 3.0.0, 17 Mar 2014
  2. v2 first release 2.0.0, 18 Mar 2013
  3. v1 first release 1.2.0, 29 May 2012

Recent releases

VersionPublished
3.7.820 Feb 2017
3.7.724 Dec 2015
3.7.623 Dec 2015
3.7.521 Nov 2015
3.7.424 Oct 2015
3.7.327 Apr 2015
3.7.230 Jan 2015
3.7.128 Jan 2015
3.7.026 Jan 2015
3.6.414 Dec 2014
3.6.314 Nov 2014
3.6.213 Nov 2014
3.6.111 Nov 2014
3.6.07 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
  • jsDelivrhttps://cdn.jsdelivr.net/npm/when@3.7.8/
  • unpkghttps://unpkg.com/when@3.7.8/
  • esm.shhttps://esm.sh/when@3.7.8
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): GitHub data not fetched yet.