recharts 2.1.6

React charts

recharts@2.1.6 was published on 2021-10-26. Its manifest declares 14 runtime dependencies and 2 peer requirements. Type declarations are bundled according to the package metadata. No Node.js engine requirement is declared in this manifest.

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.1.6 · Latest release

Package specifications

Version2.1.6
License declarationMIT
Published2021-10-26T07:55:07.326Z
Node.js requirementNot declared
Type declarationsBundled declarations
Runtime dependency count14
Peer requirement count2
Optional dependency count0
Minified sizeMeasurement not available yet
Minified + gzipMeasurement not available yet
Unpacked distribution size4975.62 KiB
Published file count331
Package typeNot declared
ES module entryes6/index
Default entrylib/index
Side effects declarationfalse
Direct advisoriesUnknown
Resolved graph dependenciesUnknown
Repository stars27674
Repository forks2026

Install recharts 2.1.6

npm install recharts@2.1.6
pnpm add recharts@2.1.6
yarn add recharts@2.1.6

Runtime dependencies

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-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