# 使用 npm 安装 sort-package-json

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

## 安装

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

其他安装命令:

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

- npm (100%):

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

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:sort-package-json
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/sort-package-json>
- **版本:** 4.0.0
- **来源摘要:** Sort an Object or package.json based on the well-known package.json keys
- **主页:** <https://github.com/keithamus/sort-package-json#readme>
- **仓库:** <https://github.com/keithamus/sort-package-json>
- **上游文档:** <https://github.com/keithamus/sort-package-json#readme>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/sort-package-json/-/sort-package-json-4.0.0.tgz>
- **问题跟踪器:** <https://github.com/keithamus/sort-package-json/issues>
- **发布时间:** 2026-06-03T20:49:42.090Z
- **最后更新:** 2026-06-03T20:49:42.090Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

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

## 依赖

- detect-indent
- detect-newline
- git-hooks-list
- is-plain-obj
- semver
- sort-object-keys
- tinyglobby

## 构建依赖

- @commitlint/cli
- @commitlint/config-conventional
- @eslint/js
- ava
- c8
- dot-prop
- esbuild
- eslint
- eslint-config-prettier
- eslint-plugin-n
- eslint-plugin-promise
- globals
- husky
- lint-staged
- prettier
- semantic-release
- tempy
- tstyche

## 安装行为

- post-install 钩子: 未定义
- npm 生命周期脚本: prepare
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 4.0.0
- 管理器更新时间: 2026-06-03
- 本地数据: OK
- 上游仓库: https://github.com/keithamus/sort-package-json
- 信息: No cached GitHub release or tag data was available.

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 4.0.0
- **Version Count:** 120
- **Maintainers:** keithamus
- **Author:** Keith Cirkel
- **Publisher:** GitHub Actions
- **Engines:** Node: >=22
- **Integrity:** sha512-6aYOlYI9AWioZ+rzu+4zKLmoFqJP0/fHDxrd7X04yqEibikY+5YVF0EYlyGn4v6X2PJY7yAUWV7oeP+i5rOm/g==
- **Shasum:** 7ec4eb9d81ad58ba16e90f134535af9aa2012697
- **Unpacked Size:** 63,103
- **File Count:** 0
- **Created At:** 2015-12-09T16:53:32.866Z
- **Latest Published At:** 2026-06-03T20:49:42.090Z
- **Modified At:** 2026-06-03T20:49:42.377Z


## 相关链接

- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [synp](https://www.automicvault.com/zh-hans/pkg/npm/synp/) - Both packages work with overlapping file formats or content types. Shared terms: cli, developer, developer-tools, json, keys.
- [fixpack](https://www.automicvault.com/zh-hans/pkg/npm/fixpack/) - Both packages work with overlapping file formats or content types. Shared terms: cli, detect, detect-indent, detect-newline, developer.
- [typesync](https://www.automicvault.com/zh-hans/pkg/npm/typesync/) - Local package facts share a topical domain. Shared terms: cli, detect, detect-indent, developer, developer-tools.

## 来源

- Nucleus package database
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
