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

Version2.12.6
License declarationMIT
Published2024-04-21T06:19:42.308Z
Node.js requirement>=14
Type declarationsBundled declarations
Runtime dependency count8
Peer requirement count2
Optional dependency count0
Minified sizeMeasurement not available yet
Minified + gzipMeasurement not available yet
Unpacked distribution size4538.04 KiB
Published file count291
Package typeNot declared
ES module entryes6/index.js
Default entrylib/index.js
Side effects declarationfalse
Direct advisories0
Resolved graph dependenciesUnknown
Repository stars27674
Repository forks2026

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

Peer requirements

  • react ^16.0.0 || ^17.0.0 || ^18.0.0
  • react-dom ^16.0.0 || ^17.0.0 || ^18.0.0

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-Review2/10 — Found 7/25 approved changesets -- score normalized to 2
Maintained10/10 — 30 commit(s) and 9 issue activity found in the last 90 days -- score normalized to 10
Dangerous-Workflow10/10 — no dangerous workflow patterns detected
CII-Best-Practices0/10 — no effort to earn an OpenSSF best practices badge detected
Token-Permissions0/10 — detected GitHub workflow tokens with excessive permissions
Binary-Artifacts10/10 — no binaries found in the repo
Security-Policy0/10 — security policy file not detected
License10/10 — license file detected
Pinned-Dependencies4/10 — dependency not pinned by hash detected -- score normalized to 4
Branch-Protection3/10 — branch protection is not maximal on development and all release branches
Fuzzing0/10 — project is not fuzzed
SAST7/10 — SAST tool is not run on all commits -- score normalized to 7

Evidence and freshness