rollup-plugin-inject
Scan modules for global variables and inject `import` statements where necessary
rollup-plugin-inject@3.0.2 was published on 2019-10-29. Its manifest declares 3 runtime dependencies and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. No Node.js engine requirement is declared in this manifest.
Deprecated: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-inject.
All rollup-plugin-inject versions · Permanent reference to 3.0.2
Package specifications
| Version | 3.0.2 |
|---|---|
| License declaration | MIT |
| Published | 2019-10-29T13:52:14.028Z |
| Node.js requirement | Not declared |
| Type declarations | Not declared |
| Runtime dependency count | 3 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 20.10 KiB |
| Published file count | 6 |
| Package type | Not declared |
| ES module entry | dist/rollup-plugin-inject.es6.js |
| Default entry | dist/rollup-plugin-inject.cjs.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 4 |
| Repository stars | 77 |
| Repository forks | 16 |
Install rollup-plugin-inject 3.0.2
npm install rollup-plugin-inject@3.0.2 pnpm add rollup-plugin-inject@3.0.2 yarn add rollup-plugin-inject@3.0.2
Runtime dependencies
- estree-walker ^0.6.1
- magic-string ^0.25.3
- rollup-pluginutils ^2.8.1
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- estree-walker@0.6.1 — direct
- magic-string@0.25.9 — direct
- rollup-pluginutils@2.8.2 — direct
- sourcemap-codec@1.4.8 — indirect
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.
| Maintained | 0/10 — project is archived |
|---|---|
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Code-Review | 1/10 — Found 3/24 approved changesets -- score normalized to 1 |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Security-Policy | 0/10 — security policy file not detected |
| License | 0/10 — license file not detected |
| Fuzzing | 0/10 — project is not fuzzed |
| Branch-Protection | 0/10 — branch protection not enabled on development/release branches |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/rollup-plugin-inject/3.0.2 — retrieved 2026-10-29T13:16:12.832Z
- https://api.deps.dev/v3/systems/npm/packages/rollup-plugin-inject/versions/3.0.2:dependencies — retrieved 2026-10-29T13:16:13.386Z
- https://api.deps.dev/v3/systems/npm/packages/rollup-plugin-inject/versions/3.0.2 — retrieved 2026-10-29T13:16:13.369Z
- https://api.deps.dev/v3/projects/github.com%2Frollup%2Frollup-plugin-inject — retrieved 2026-10-29T13:16:13.509Z