Skip to content
JS
Package

gensync

Allows users to use generators in order to write common functions that can be both sync or async.

v1.0.0-beta.2, 27 Oct 2020MITCommonJSTypes: NonePromises and async control flow
$ npm install gensync

Key numbers

As of 25 Sept 2026
Weekly downloads
110m
+165% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
5 years ago
v1.0.0-beta.2
GitHub stars
95
14 forks
Open issues / PRs
2 / 13
Contributors
3
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
050m100m150mSept 2025Mar 2026Sept 2026High 143.4m (18 Aug 2026)Low 30.4m (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.

109,982,341 downloads last week, 527,359,514 in the last month. The 12-month change of +165% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
01 in total
Latest version
1.0.0-beta.2, 27 Oct 20205 years ago
First published
23 Nov 2015
Last push to GitHub
7 Dec 20221,387 days before the snapshot
Repository archived
No
Open issues
2
Open pull requests
13
Commits, last 52 weeks
0
Dependents on npm
1,362

Major versions

  1. v0 first release 0.1.0, 23 Nov 2015

Recent releases

VersionPublished
0.1.023 Nov 2015
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=6.9.0
Runtimes
-
Unpacked size (npm)
28 kB
Dependencies (0)
None
npm install gensync

CDN

jsDelivr: 128.2k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/gensync@1.0.0-beta.2/
  • unpkghttps://unpkg.com/gensync@1.0.0-beta.2/
  • esm.shhttps://esm.sh/gensync@1.0.0-beta.2
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.