# 使用 npm 安装 pinyin

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

## 安装

```sh
sudo av install npm:pinyin
```

其他安装命令:

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

- npm (100%):

```sh
npm install -g pinyin
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:pinyin
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/pinyin>
- **版本:** 4.0.0
- **来源摘要:** 汉语拼音转换工具。
- **主页:** <https://pinyin.js.org/>
- **仓库:** <https://github.com/hotoo/pinyin>
- **上游文档:** <https://pinyin.js.org/>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/pinyin/-/pinyin-4.0.0.tgz>
- **问题跟踪器:** <https://github.com/hotoo/pinyin/issues>
- **发布时间:** 2025-05-21T17:57:54.814Z
- **最后更新:** 2025-05-21T17:57:54.814Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- pinyin (cli)
- pinyin (别名)

## 依赖

- commander

## 构建依赖

- @babel/preset-env
- @babel/preset-typescript
- @rollup/plugin-commonjs
- @rollup/plugin-json
- @rollup/plugin-node-resolve
- @textea/json-viewer
- @types/jest
- @types/node
- @typescript-eslint/eslint-plugin
- @typescript-eslint/parser
- aurl
- aws-sdk
- beautify-benchmark
- benchmark
- dumi
- eslint
- eslint-config-prettier
- eslint-import-resolver-typescript
- eslint-plugin-prettier
- gh-pages
- jest
- mock-aws-s3
- nock
- npx
- prettier
- request
- rollup
- rollup-plugin-alias
- rollup-plugin-cleanup
- rollup-plugin-terser
- rollup-plugin-typescript2
- ts-node
- tsup
- typescript

## 安装行为

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

## 版本和新鲜度

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

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Alpha: 4.0.0-alpha.3, Latest: 4.0.0
- **Version Count:** 51
- **Maintainers:** hotoo
- **Author:** 闲耘
- **Publisher:** hotoo
- **Engines:** Install Node: ^18.0.0
- **Peer Dependencies:** @node-rs/jieba, nodejieba, segmentit
- **Integrity:** sha512-vHpV5K+vpp6XUUpZNGRDuHoN+1xcmieM3EWlH4QjSX2kkpG/gVOwpqwV9EOJ9x9c9UERFKeLml5XVSukE/PLgQ==
- **Shasum:** 9c15fd9d45c08b6813221fc602f77759429bfa4f
- **Unpacked Size:** 61,897,172
- **File Count:** 0
- **Created At:** 2012-02-15T04:05:35.814Z
- **Latest Published At:** 2025-05-21T17:57:54.814Z
- **Modified At:** 2025-05-21T17:57:54.977Z


## 相关链接

- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [office-addin-usage-data](https://pkg.so/zh-hans/npm/office-addin-usage-data/) - Local package facts share a topical domain. Shared terms: cli, cli-tools, commander, developer, developer-tools.
- [opt-cli](https://pkg.so/zh-hans/npm/opt-cli/) - Local package facts share a topical domain. Shared terms: cli, cli-tools, commander, developer, developer-tools.
- [portastic](https://pkg.so/zh-hans/npm/portastic/) - Local package facts share a topical domain. Shared terms: cli, cli-tools, commander, developer, developer-tools.

## 来源

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