Skip to content
JS
Package

caf

Cancelable Async Flows: a wrapper to treat generators as cancelable async functions

v15.0.1, 27 Aug 2022MITESM + CommonJSTypes: NonePromises and async control flow
$ npm install caf

Key numbers

As of 25 Sept 2026
Weekly downloads
312.7k
+18% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
4 years ago
v15.0.1
GitHub stars
1.4k
49 forks
Open issues / PRs
2 / 0
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
0200k400k600kSept 2025Mar 2026Sept 2026High 563.6k (21 Jul 2026)Low 132.2k (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.

312,682 downloads last week, 1,563,075 in the last month. The 12-month change of +18% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
034 in total
Latest version
15.0.1, 27 Aug 20224 years ago
First published
4 May 2015
Last push to GitHub
27 Aug 20221,489 days before the snapshot
Repository archived
No
Open issues
2
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
8

Major versions

  1. v15 first release 15.0.0, 27 Aug 2022
  2. v14 first release 14.0.0, 15 Nov 2021
  3. v13 first release 13.0.0, 7 May 2021
  4. v12 first release 12.0.0, 1 Feb 2021
  5. v11 first release 11.0.0, 6 Dec 2020
  6. v10 first release 10.0.0, 6 Nov 2020
  7. v9 first release 9.0.0, 17 Jan 2020
  8. v8 first release 8.0.0, 13 Sept 2019
  9. v7 first release 7.0.0, 22 Feb 2018
  10. v6 first release 6.0.0, 24 Jan 2018
  11. v5 first release 5.0.0, 16 Jan 2018
  12. v4 first release 4.0.0, 9 Jan 2018
  13. v0 first release 0.0.1, 4 May 2015

Recent releases

VersionPublished
15.0.127 Aug 2022
15.0.027 Aug 2022
14.0.015 Nov 2021
13.1.113 May 2021
13.1.010 May 2021
13.0.07 May 2021
12.0.11 Feb 2021
12.0.01 Feb 2021
11.0.120 Jan 2021
11.0.06 Dec 2020
10.0.523 Nov 2020
10.0.421 Nov 2020
10.0.319 Nov 2020
10.0.219 Nov 2020
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
131 kB
Dependencies (0)
None
npm install caf
  • jsDelivrhttps://cdn.jsdelivr.net/npm/caf@15.0.1/
  • unpkghttps://unpkg.com/caf@15.0.1/
  • esm.shhttps://esm.sh/caf@15.0.1
PackageWeekly downloadsGzipLast releaseModuleComparison
modern-async127.2k-1 year agoESM + CommonJS-
p-map61.6m-12 days agoESM only-
marcosc-async16.2k-9 years agoCommonJS-
neo-async50m-6 years agoCommonJS-
flush-promises218.6k-7 years agoCommonJS-
@supercharge/promise-pool777.2k-6 months agoCommonJS-
async80.9m-2 years agoESM + CommonJS-
async-es22.1k-2 years agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.