@rollup/plugin-json
Rollup plugin to import JSON files as ES modules.
Build tools and bundlers npm MIT
How @rollup/plugin-json is used
@rollup/plugin-json is a dependency in 4 of the 6,208 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 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983); counting those, it appears in 33 projects, and what it is used with below comes from all of them. Projects that use it most often also use Rollup (93.9%), @rollup/plugin-commonjs (87.9%), @rollup/plugin-node-resolve (84.8%).
@rollup/plugin-json popularity over time
Gid Score 49: downloads 79, use in agent projects 35, GitHub stars 34, downloads trend n/a (each 0-100). How it is calculated.
Often used with @rollup/plugin-json
| Rollup | 93.9% of @rollup/plugin-json projects · 157.6× more than average |
|---|---|
| @rollup/plugin-commonjs | 87.9% of @rollup/plugin-json projects · 363.7× more than average |
| @rollup/plugin-node-resolve | 84.8% of @rollup/plugin-json projects · 292.6× more than average |
| @rollup/plugin-typescript | 72.7% of @rollup/plugin-json projects · 376.2× more than average |
| Axios | 57.6% of @rollup/plugin-json projects · 7.6× more than average |
| Husky | 54.5% of @rollup/plugin-json projects · 5.3× more than average |
| dotenv | 57.6% of @rollup/plugin-json projects · 3.7× more than average |
| Rollup Terser Plugin | 48.5% of @rollup/plugin-json projects · 430.0× more than average |
From all 33 projects in our scan that use @rollup/plugin-json, including the dependency samples.
How @rollup/plugin-json is funded
Open Collective: Rollup
| Received, last 12 months | $16,299 Oct 2025 – Sep 2026 |
|---|---|
| Estimated annual budget | $16,270 Open Collective's estimate |
| Balance | $56,360 |
| Raised since the start | $105,899 · $49,539 paid out |
| Typical month median, last 12 months | $1,151 · $1,188 over 24 months |
| Last 12 months vs the 12 before | +3% |
| Contributors, last 12 months | 23 |
Top company backers all time, 32 companies in total
| Sanity | $6,000 since Nov 2024 |
|---|---|
| Aragon | $2,897 since Nov 2018 |
| MacPaw | $2,150 since Aug 2022 |
| Oasis Digital Solutions Inc. | $2,100 since Feb 2018 |
| Frontend Masters | $2,100 since Jul 2019 |
Oct 2021Sep 2026
Money by month, last five years. First money received in Jan 2018. The typical month is the median: one big one-off donation does not move it.
The same collective is named by 7 more tools in our catalog: Rollup, @rollup/plugin-node-resolve, @rollup/plugin-commonjs, @rollup/plugin-typescript, Rollup Terser Plugin, Rollup Babel Plugin and others.
USD after payment processor fees, as Open Collective reports it; fiscal host Open Source Collective. Source
Ways to fund @rollup/plugin-json
Open Collective
As the maintainers list them in FUNDING.yml on GitHub. Checked Oct 20, 2026.
Install
| Package | npm install @rollup/plugin-json |
|---|---|
| Main stacks | TypeScript / JavaScript (30), Python (2), Next.js (1) |
| Example projects | pancakeswap/token-list, confluentinc/vscode, aleph-im/aleph-js, dimaslanjaka/php-proxy-hunter, a0yark/js-reverse-pro-mcp |
Alternatives to @rollup/plugin-json
In our scan, none of the most used tools in Build tools and bundlers does the same job as @rollup/plugin-json: they are add-ons, companions or tools for a different task.
More in Build tools and bundlers: Vite Turborepo esbuild Babel (JavaScript) Laravel Vite Plugin React Compiler Babel Plugin Nx vite-tsconfig-paths