# 使用 npm 安装 sort-json

查看 sort-json 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

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

其他安装命令:

### 便携式和语言管理器

- npm (100%):

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

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:sort-json
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/sort-json>
- **版本:** 2.0.1
- **来源摘要:** Takes a json-file and return a copy of the same file, but sorted
- **主页:** <https://github.com/kesla/sort-json>
- **仓库:** <https://github.com/kesla/sort-json>
- **上游文档:** <https://github.com/kesla/sort-json>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/sort-json/-/sort-json-2.0.1.tgz>
- **问题跟踪器:** <https://github.com/kesla/sort-json/issues>
- **发布时间:** 2022-02-12T21:43:00.979Z
- **最后更新:** 2022-02-12T21:43:00.979Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- sort-json (cli)
- sort-json (别名)

## 依赖

- detect-indent
- detect-newline
- minimist

## 构建依赖

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

## 安装行为

- post-install 钩子: 未定义
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.0.1
- 管理器更新时间: 2022-02-12
- 本地数据: OK
- 上游仓库: https://github.com/kesla/sort-json
- 警告: The package-manager record has not been updated in over a year.
- 信息: No cached GitHub release or tag data was available.

## 安全说明

没有找到 sort-json 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

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


## 相关链接

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

## 来源

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