@rollup/plugin-commonjs is a Rollup plugin that seamlessly converts CommonJS modules to ES modules. This enables you to import and use npm packages that exclusively use CommonJS syntax within your Rollup-based build process. It automatically analyzes your project's dependencies and transforms CommonJS modules, facilitating a smooth transition to modern ES module workflows and enabling tree-shaking optimizations. Essential for projects leveraging existing CommonJS libraries alongside modern ES module code.
@rollup/plugin-commonjs had fluctuating release frequency. Releases were common in 2020-2023, with peaks in July 2020 and December 2022. There were several months with no releases. Releases slowed down in 2024 and 2025. The most recent release was in June 2025.
@rollup/plugin-commonjs downloads show a strong upward trend from February 2024 (9.1M) to July 2025 (28.2M). We have a partial view of August 2025 with 8.4M downloads. There is consistent growth throughout the observed period, with notable increases from the beginning of 2025.