Skip to content
JS
Package

@rollup/plugin-commonjs

Convert CommonJS modules to ES2015

v29.0.3, 29 May 2026MITESM + CommonJSTypes: BundledBundler plugins and loaders
$ npm install @rollup/plugin-commonjs

Key numbers

As of 25 Sept 2026
Weekly downloads
15.5m
+163% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
7
Direct, from package.json
Last release
3 months ago
v29.0.3
GitHub stars
3.8k
635 forks
Open issues / PRs
29 / 17
Contributors
259
Commits, last 52 weeks
69

Downloads

Last week 2026-09-15 to 2026-09-21
010m20m30mSept 2025Mar 2026Sept 2026High 21.7m (25 Aug 2026)Low 4.5m (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.

15,496,042 downloads last week, 77,910,642 in the last month. The 12-month change of +163% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
767 in total
Latest version
29.0.3, 29 May 20263 months ago
First published
21 Dec 2019
Last push to GitHub
29 May 2026118 days before the snapshot
Repository archived
No
Open issues
29
Open pull requests
17
Commits, last 52 weeks
69
Dependents on npm
3,853

Major versions

  1. v29 first release 29.0.0, 30 Oct 2025
  2. v28 first release 28.0.0, 23 Sept 2024
  3. v27 first release 27.0.0, 23 Sept 2024
  4. v26 first release 26.0.0, 5 Jun 2024
  5. v25 first release 25.0.0, 12 May 2023
  6. v24 first release 24.0.0, 18 Dec 2022
  7. v23 first release 23.0.0, 9 Oct 2022
  8. v22 first release 22.0.0, 24 Apr 2022
  9. v21 first release 21.0.0, 1 Oct 2021
  10. v20 first release 20.0.0, 30 Jul 2021
  11. v19 first release 19.0.0, 7 May 2021
  12. v18 first release 18.0.0, 26 Mar 2021
  13. v17 first release 17.0.0, 30 Nov 2020
  14. v16 first release 16.0.0, 27 Oct 2020
  15. v15 first release 15.0.0, 13 Aug 2020
  16. v14 first release 14.0.0, 13 Jul 2020
  17. v13 first release 13.0.0, 5 Jun 2020
  18. v12 first release 12.0.0, 20 May 2020
  19. v11 first release 11.0.0, 21 Dec 2019

Recent releases

VersionPublished
29.0.329 May 2026
29.0.26 Mar 2026
29.0.15 Mar 2026
29.0.030 Oct 2025
28.0.924 Oct 2025
28.0.816 Oct 2025
28.0.714 Oct 2025
28.0.617 Jun 2025
28.0.514 Jun 2025
28.0.414 Jun 2025
28.0.36 Mar 2025
28.0.215 Dec 2024
28.0.116 Oct 2024
28.0.023 Sept 2024
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=16.0.0 || 14 >= 14.17
Runtimes
-
Unpacked size (npm)
269 kB
Dependencies (7)
fdircommondirpicomatchis-referencemagic-stringestree-walker@rollup/pluginutils
Peer dependencies (1)
rollup
npm install @rollup/plugin-commonjs
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@rollup/plugin-commonjs@29.0.3/
  • unpkghttps://unpkg.com/@rollup/plugin-commonjs@29.0.3/
  • esm.shhttps://esm.sh/@rollup/plugin-commonjs@29.0.3
PackageWeekly downloadsGzipLast releaseModuleComparison
@miyaneee/rollup-plugin-json5431.2k-2 years agoESM + CommonJS-
rollup-plugin-typescript21.6m-5 months agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.