# Install sort-json with npm

Takes a json-file and return a copy of the same file, but sorted. Version 2.0.1 via npm; verified 2022-02-12.

## Install

```sh
sudo av install npm:sort-json
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g sort-json
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:sort-json
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/sort-json>
- **Version:** 2.0.1
- **Source summary:** Takes a json-file and return a copy of the same file, but sorted
- **Homepage:** <https://github.com/kesla/sort-json>
- **Repository:** <https://github.com/kesla/sort-json>
- **Upstream docs:** <https://github.com/kesla/sort-json>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/sort-json/-/sort-json-2.0.1.tgz>
- **Issue tracker:** <https://github.com/kesla/sort-json/issues>
- **Published:** 2022-02-12T21:43:00.979Z
- **Last updated:** 2022-02-12T21:43:00.979Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- sort-json (cli)
- sort-json (alias)

## Dependencies

- detect-indent
- detect-newline
- minimist

## Build dependencies

- chai
- dirty-chai
- eslint
- eslint-config-airbnb
- eslint-plugin-import
- eslint-plugin-jsx-a11y
- eslint-plugin-react
- mocha

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 2.0.1
- Package-manager updated: 2022-02-12
- Local data: ok
- Upstream repository: https://github.com/kesla/sort-json
- warning: The package-manager record has not been updated in over a year.
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for sort-json. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 2.0.1
- **Version Count:** 15
- **Maintainers:** kesla
- **Author:** David Björklund
- **Publisher:** kesla
- **Integrity:** sha512-s8cs2bcsQCzo/P2T/uoU6Js4dS/jnX8+4xunziNoq9qmSpZNCrRIAIvp4avsz0ST18HycV4z/7myJ7jsHWB2XQ==
- **Shasum:** 7338783bef807185dc37d5b02e3afd905d537cfb
- **Unpacked Size:** 22,540
- **File Count:** 0
- **Created At:** 2012-11-16T16:17:09.222Z
- **Latest Published At:** 2022-02-12T21:43:00.979Z
- **Modified At:** 2022-06-26T22:16:30.088Z


## Related links

- [Text processing packages](https://pkg.so/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [typewriter](https://pkg.so/npm/typewriter/) - Both packages work with overlapping file formats or content types. Shared terms: cli, data, detect, json, serialization.
- [dot-json](https://pkg.so/npm/dot-json/) - Both packages work with overlapping file formats or content types. Shared terms: cli, data, detect, detect-indent, file.
- [sort-package-json](https://pkg.so/npm/sort-package-json/) - Both packages work with overlapping file formats or content types. Shared terms: cli, detect, detect-indent, detect-newline, indent.

## Sources

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
