# 使用 npm 安装 json5

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

## 安装

```sh
sudo av install npm:json5
```

其他安装命令:

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

- npm (100%):

```sh
npm install -g json5
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:json5
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/json5>
- **版本:** 2.2.3
- **来源摘要:** JSON for Humans
- **主页:** <http://json5.org/>
- **仓库:** <https://github.com/json5/json5>
- **上游文档:** <http://json5.org/>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/json5/-/json5-2.2.3.tgz>
- **问题跟踪器:** <https://github.com/json5/json5/issues>
- **发布时间:** 2022-12-31T17:11:32.047Z
- **最后更新:** 2022-12-31T17:11:32.047Z
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- json5 (cli)

## 构建依赖

- core-js
- eslint
- eslint-config-standard
- eslint-plugin-import
- eslint-plugin-node
- eslint-plugin-promise
- eslint-plugin-standard
- npm-run-all
- regenerate
- rollup
- rollup-plugin-buble
- rollup-plugin-commonjs
- rollup-plugin-node-resolve
- rollup-plugin-terser
- sinon
- tap
- unicode-10.0.0

## 安装行为

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

## 版本和新鲜度

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

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 2.2.3, Previous: 1.0.2
- **Version Count:** 27
- **Maintainers:** jordanbtucker, aseemk
- **Author:** Aseem Kishore
- **Publisher:** jordanbtucker
- **Engines:** Node: >=6
- **Integrity:** sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==
- **Shasum:** 78cd6f1a19bdc12b73db5ad0c61efd66c1e29283
- **Unpacked Size:** 235,198
- **File Count:** 0
- **Created At:** 2012-05-27T20:32:39.534Z
- **Latest Published At:** 2022-12-31T17:11:32.047Z
- **Modified At:** 2023-03-04T17:04:33.373Z


## 相关链接

- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [json5](https://www.automicvault.com/zh-hans/pkg/brew/json5/) - Same normalized package name appears in another local ecosystem. Shared terms: json, json5.
- [json11](https://www.automicvault.com/zh-hans/pkg/npm/json11/) - Both packages work with overlapping file formats or content types. Shared terms: ecmascript, humans, json, json5.
- [regexpu](https://www.automicvault.com/zh-hans/pkg/npm/regexpu/) - Local package facts share a topical domain. Shared terms: ecmascript, es2015, es5.
- [json5](https://www.automicvault.com/zh-hans/pkg/brew/json5/) - Same normalized package name exists in another local package ecosystem.

## 来源

- Nucleus package database
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
