@rollup/plugin-json 5.0.2

Convert .json files to ES6 modules

@rollup/plugin-json@5.0.2 was published on 2022-11-27. Its manifest declares 1 runtime dependency and 1 peer requirement. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=14.0.0.

All @rollup/plugin-json versions · Permanent reference to 5.0.2 · Latest release

Package specifications

Version5.0.2
License declarationMIT
Published2022-11-27T17:02:29.148Z
Node.js requirement>=14.0.0
Type declarationsBundled declarations
Runtime dependency count1
Peer requirement count1
Optional dependency count0
Minified sizeMeasurement not available yet
Minified + gzipMeasurement not available yet
Unpacked distribution size7.89 KiB
Published file count6
Package typeNot declared
ES module entry./dist/es/index.js
Default entry./dist/cjs/index.js
Side effects declarationNot declared
Direct advisoriesUnknown
Resolved graph dependenciesUnknown
Repository stars3762
Repository forks639

Install @rollup/plugin-json 5.0.2

npm install @rollup/plugin-json@5.0.2
pnpm add @rollup/plugin-json@5.0.2
yarn add @rollup/plugin-json@5.0.2

Runtime dependencies

Peer requirements

  • rollup ^1.20.0||^2.0.0||^3.0.0 (optional peer)

Optional dependencies

  • None declared

How to interpret the specifications

Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.

Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.

OpenSSF repository checks

Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.

Code-Review4/10 — Found 12/26 approved changesets -- score normalized to 4
Dangerous-Workflow10/10 — no dangerous workflow patterns detected
Token-Permissions0/10 — detected GitHub workflow tokens with excessive permissions
Maintained10/10 — 17 commit(s) and 4 issue activity found in the last 90 days -- score normalized to 10
CII-Best-Practices0/10 — no effort to earn an OpenSSF best practices badge detected
Binary-Artifacts7/10 — binaries present in source code
Pinned-Dependencies0/10 — dependency not pinned by hash detected -- score normalized to 0
Security-Policy0/10 — security policy file not detected
License10/10 — license file detected
Fuzzing0/10 — project is not fuzzed
SAST0/10 — SAST tool is not run on all commits -- score normalized to 0

Evidence and freshness