# 使用 npm 安装 polkadot-api

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

## 安装

```sh
sudo av install npm:polkadot-api
```

其他安装命令:

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

- npm (100%):

```sh
npm install -g polkadot-api
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:polkadot-api
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/polkadot-api>
- **版本:** 2.2.1
- **来源摘要:** Light client first: built on top of the new JSON-RPC spec to fully leverage the potential of light-clients (i.e: smoldot). - Delightful TypeScript support
- **主页:** <https://github.com/polkadot-api/polkadot-api#readme>
- **仓库:** <https://github.com/polkadot-api/polkadot-api>
- **上游文档:** <https://github.com/polkadot-api/polkadot-api#readme>
- **许可证:** MIT
- **发布时间:** 2026-07-21T09:46:29.204Z
- **最后更新:** 2026-07-21T09:46:29.204Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- polkadot-api (cli)
- polkadot-api (别名)

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.2.1
- 管理器更新时间: 2026-07-21
- 本地数据: OK
- 上游仓库: https://github.com/polkadot-api/polkadot-api
- 信息: No cached GitHub release or tag data was available.

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Canary: 3.0.1-canary.57eb571, Latest: 2.2.1, Rc: 3.0.0-rc.5
- **Version Count:** 262
- **Maintainers:** josepot, voliva
- **File Count:** 0
- **Created At:** 2024-04-10T08:14:41.430Z
- **Latest Published At:** 2026-07-21T09:46:29.204Z
- **Modified At:** 2026-07-21T09:46:29.204Z


## 相关链接

- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [organize-imports-cli](https://pkg.so/zh-hans/npm/organize-imports-cli/) - Local package facts share a topical domain. Shared terms: cli, cli-tools, developer, developer-tools, typescript.
- [pacote](https://pkg.so/zh-hans/npm/pacote/) - Both packages work with overlapping file formats or content types. Shared terms: cli, cli-tools, developer, developer-tools, json.
- [parse-domain](https://pkg.so/zh-hans/npm/parse-domain/) - Local package facts share a topical domain. Shared terms: cli, cli-tools, developer, developer-tools, top.

## 来源

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