Skip to content
JS
Package

sort-json

Takes a json-file and return a copy of the same file, but sorted

v2.0.1, 12 Feb 2022MITCommonJSTypes: None
$ npm install sort-json

Key numbers

As of 25 Sept 2026
Weekly downloads
341.4k
+3% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
3
Direct, from package.json
Last release
4 years ago
v2.0.1
GitHub stars
73
20 forks
Open issues / PRs
9 / 6
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
0250k500k750k1mSept 2025Mar 2026Sept 2026High 869.9k (5 May 2026)Low 206.9k (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.

341,423 downloads last week, 1,584,716 in the last month. The 12-month change of +3% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
015 in total
Latest version
2.0.1, 12 Feb 20224 years ago
First published
16 Nov 2012
Last push to GitHub
24 Feb 20231,308 days before the snapshot
Repository archived
No
Open issues
9
Open pull requests
6
Commits, last 52 weeks
0
Dependents on npm
-

Major versions

  1. v2 first release 2.0.0, 16 Jun 2018
  2. v1 first release 1.0.0, 13 Feb 2015
  3. v0 first release 0.0.1, 16 Nov 2012

Recent releases

VersionPublished
2.0.112 Feb 2022
2.0.016 Jun 2018
1.6.112 Jan 2018
1.6.030 Nov 2017
1.5.226 Sept 2017
1.5.125 Sept 2017
1.5.024 Sept 2017
1.4.119 Apr 2017
1.4.08 Sept 2016
1.3.030 Jul 2016
1.2.016 Mar 2016
1.1.11 Oct 2015
1.1.013 Feb 2015
1.0.013 Feb 2015
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
22 kB
Dependencies (3)
minimistdetect-indentdetect-newline
npm install sort-json
  • jsDelivrhttps://cdn.jsdelivr.net/npm/sort-json@2.0.1/
  • unpkghttps://unpkg.com/sort-json@2.0.1/
  • esm.shhttps://esm.sh/sort-json@2.0.1
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.