# 使用 npm 安装 prettier-package-json

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

## 安装

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

其他安装命令:

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

- npm (100%):

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

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:prettier-package-json
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/prettier-package-json>
- **版本:** 2.8.0
- **来源摘要:** Prettier formatter for package.json files
- **仓库:** <https://github.com/cameronhunter/prettier-package-json>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/prettier-package-json/-/prettier-package-json-2.8.0.tgz>
- **问题跟踪器:** <https://github.com/cameronhunter/prettier-package-json/issues>
- **发布时间:** 2022-12-23T23:32:54.272Z
- **最后更新:** 2022-12-23T23:32:54.272Z
- **已生成:** 2026-07-10T07:20:53+00:00

## 可执行文件

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

## 依赖

- @types/parse-author
- commander
- cosmiconfig
- fs-extra
- glob
- minimatch
- parse-author
- sort-object-keys
- sort-order

## 构建依赖

- @types/cross-spawn
- @types/jest
- @types/minimatch
- @types/sort-object-keys
- cross-spawn
- husky
- jest
- ts-jest
- ts-node
- type-fest
- typescript

## 安装行为

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

## 版本和新鲜度

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

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 2.8.0
- **Version Count:** 30
- **Maintainers:** cameronhunter
- **Author:** Cameron Hunter
- **Publisher:** cameronhunter
- **Integrity:** sha512-WxtodH/wWavfw3MR7yK/GrS4pASEQ+iSTkdtSxPJWvqzG55ir5nvbLt9rw5AOiEcqqPCRM92WCtR1rk3TG3JSQ==
- **Shasum:** 70aba2b4f7aeb4e294ae2191fb64b7d8fdea0398
- **Unpacked Size:** 28,988
- **File Count:** 0
- **Created At:** 2017-06-01T07:10:29.439Z
- **Latest Published At:** 2022-12-23T23:32:54.272Z
- **Modified At:** 2022-12-23T23:32:54.357Z


## 相关链接

- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [prettier-stylelint](https://www.automicvault.com/zh-hans/pkg/npm/prettier-stylelint/) - Package names and metadata indicate a similar tool family. Shared terms: cli, cosmiconfig, data, databases, prettier.
- [prettierx](https://www.automicvault.com/zh-hans/pkg/npm/prettierx/) - Both packages work with overlapping file formats or content types. Shared terms: cli, cosmiconfig, data, databases, formatter.
- [pug-lint](https://www.automicvault.com/zh-hans/pkg/npm/pug-lint/) - Both packages work with overlapping file formats or content types. Shared terms: cli, commander, data, databases, formatter.

## 来源

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