Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

@rollup/plugin-commonjs

Rollup plugin to convert CommonJS modules to ES2015 for bundling.

Build tools and bundlersNPM

GitHubWebsite

1. License

License from npm.

github.com/rollup/plugins

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What @rollup/plugin-commonjs does

Rollup plugin to convert CommonJS modules to ES2015 for bundling.

@rollup/plugin-commonjs popularity

64 / 100
Gid Score, #749 overall
33M
downloads a week, npm
3,758
GitHub stars
15
agent projects use it
@rollup/plugin-commonjs: downloads per weeknpm, @rollup/plugin-commonjs 33,022,156
@rollup/plugin-commonjs: GitHub starsrollup/plugins 3,758

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How @rollup/plugin-commonjs is used

  • @rollup/plugin-commonjs is a dependency in 15 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 72 projects, and what it is used with below comes from all of them.
  • The most used alternative in our scan is SWC (110 projects).
  • Projects that use it most often also use @rollup/plugin-node-resolve (84.7%), Rollup (83.3%), @rollup/plugin-typescript (66.7%).

By coding agent

10 projects, 0.3%

Often used with

In 84.7% of its projects
In 83.3% of its projects
In 66.7% of its projects
In 47.2% of its projects
In 91.7% of its projects
In 37.5% of its projects
In 54.2% of its projects
In 34.7% of its projects

More about @rollup/plugin-commonjs

Funding
  • Open Collective: https://opencollective.com/rollup

See all

More in Build tools and bundlers

Alternatives

@rollup/plugin-commonjs This page

MITGid 6433M/wk

SWC

Super-fast Rust-based JavaScript compiler and bundler alternative to Babel.

Apache-2.0Gid 7861.9M/wk

Compare @rollup/plugin-commonjs with another tool

Get started

Install it.

npm install @rollup/plugin-commonjs

No step-by-step start for @rollup/plugin-commonjs yet: we have not written its hand-checked card.