recharts 2.12.6
React charts
recharts@2.12.6 was published on 2024-04-21. Its manifest declares 8 runtime dependencies and 2 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=14.
Deprecated: 1.x and 2.x branches are no longer active. Bump to Recharts v3 to receive latest features and bugfixes. See https://github.com/recharts/recharts/wiki/3.0-migration-guide
All recharts versions · Permanent reference to 2.12.6 · View npm registry JSON · Latest release
Package specifications
| Version | 2.12.6 |
|---|---|
| License declaration | MIT |
| Published | 2024-04-21T06:19:42.308Z |
| Node.js requirement | >=14 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 8 |
| Peer requirement count | 2 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 4538.04 KiB |
| Published file count | 291 |
| Package type | Not declared |
| ES module entry | es6/index.js |
| Default entry | lib/index.js |
| Side effects declaration | false |
| Direct advisories | 0 |
| Resolved graph dependencies | Unknown |
| Repository stars | 27674 |
| Repository forks | 2026 |
Install recharts 2.12.6
npm install recharts@2.12.6 pnpm add recharts@2.12.6 yarn add recharts@2.12.6
Runtime dependencies
- clsx ^2.0.0
- lodash ^4.17.21
- react-is ^16.10.2
- react-smooth ^4.0.0
- eventemitter3 ^4.0.1
- recharts-scale ^0.4.4
- tiny-invariant ^1.3.1
- victory-vendor ^36.6.8
Peer requirements
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-Review | 2/10 — Found 7/25 approved changesets -- score normalized to 2 |
|---|---|
| Maintained | 10/10 — 30 commit(s) and 9 issue activity found in the last 90 days -- score normalized to 10 |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Security-Policy | 0/10 — security policy file not detected |
| License | 10/10 — license file detected |
| Pinned-Dependencies | 4/10 — dependency not pinned by hash detected -- score normalized to 4 |
| Branch-Protection | 3/10 — branch protection is not maximal on development and all release branches |
| Fuzzing | 0/10 — project is not fuzzed |
| SAST | 7/10 — SAST tool is not run on all commits -- score normalized to 7 |
Evidence and freshness
- Readable npm registry JSON — retrieved 2026-11-06T00:17:37.864Z
- https://api.deps.dev/v3/systems/npm/packages/recharts/versions/2.12.6 — retrieved 2026-11-06T00:17:38.003Z
- https://api.deps.dev/v3/projects/github.com%2Frecharts%2Frecharts — retrieved 2026-11-05T17:27:38.957Z (stale snapshot; refresh pending)