Skip to content
JS
Package

json-2-csv

A JSON to CSV and CSV to JSON converter that natively supports sub-documents and auto-generates the CSV heading.

v5.6.0, 26 Aug 2026MITCommonJSTypes: BundledParsers and serialisersCLI tools and terminal utilities
$ npm install json-2-csv

Key numbers

As of 25 Sept 2026
Weekly downloads
1.1m
+66% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
30 days ago
v5.6.0
GitHub stars
458
63 forks
Open issues / PRs
9 / 0
Contributors
-
Commits, last 52 weeks
18

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5m2mSept 2025Mar 2026Sept 2026High 1.5m (25 Aug 2026)Low 439.2k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

1,079,583 downloads last week, 4,948,978 in the last month. The 12-month change of +66% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
4145 in total
Latest version
5.6.0, 26 Aug 202630 days ago
First published
21 Apr 2014
Last push to GitHub
26 Aug 202630 days before the snapshot
Repository archived
No
Open issues
9
Open pull requests
0
Commits, last 52 weeks
18
Dependents on npm
302

Major versions

  1. v5 first release 5.0.0, 29 Oct 2023
  2. v4 first release 4.0.0, 19 Mar 2023
  3. v3 first release 3.0.0, 28 Dec 2018
  4. v2 first release 2.0.0, 1 Oct 2015
  5. v1 first release 1.0.6, 16 Sept 2014
  6. v0 first release 0.0.1, 21 Apr 2014

Recent releases

VersionPublished
5.6.026 Aug 2026
5.5.1226 Aug 2026
5.5.1126 May 2026
5.5.1028 Oct 2025
5.5.96 Mar 2025
5.5.824 Jan 2025
5.5.724 Nov 2024
5.5.626 Sept 2024
5.5.54 Aug 2024
5.5.48 Jul 2024
5.5.38 Jul 2024
5.5.26 Jul 2024
5.5.121 Mar 2024
5.5.01 Mar 2024
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>= 16
Runtimes
-
Unpacked size (npm)
79 kB
Dependencies (2)
deeksdoc-path
npm install json-2-csv
  • jsDelivrhttps://cdn.jsdelivr.net/npm/json-2-csv@5.6.0/
  • unpkghttps://unpkg.com/json-2-csv@5.6.0/
  • esm.shhttps://esm.sh/json-2-csv@5.6.0
PackageWeekly downloadsGzipLast releaseModuleComparison
mrm19.2k-3 years agoCommonJS-
jsonexport232.9k-5 years agoCommonJS-
ansi-parser100.8k-1 year agoCommonJS-
@flatfile/adapter39.4k-4 years agoESM + CommonJS-
js2xmlparser3m-4 years agoCommonJS-
ansi-sequence-parser494.8k-1 year agoESM + CommonJS-
normalize-pkg20.1k-6 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.