# 使用 npm 安装 fabric-shim

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

## 安装

```sh
sudo av install npm:fabric-shim
```

其他安装命令:

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

- npm (100%):

```sh
npm install -g fabric-shim
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:fabric-shim
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/fabric-shim>
- **版本:** 2.5.8
- **来源摘要:** A node.js implementation of Hyperledger Fabric chaincode shim, to allow endorsing peers and user-provided chaincodes to communicate with each other
- **主页:** <https://github.com/hyperledger/fabric-chaincode-node#readme>
- **仓库:** <https://github.com/hyperledger/fabric-chaincode-node>
- **上游文档:** <https://github.com/hyperledger/fabric-chaincode-node#readme>
- **许可证:** Apache-2.0
- **源码归档:** <https://registry.npmjs.org/fabric-shim/-/fabric-shim-2.5.8.tgz>
- **问题跟踪器:** <https://github.com/hyperledger/fabric-chaincode-node/issues>
- **发布时间:** 2024-12-04T09:38:49.747Z
- **最后更新:** 2024-12-04T09:38:49.747Z
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- fabric-chaincode-node (cli)
- fabric-chaincode-node (别名)

## 依赖

- @fidm/x509
- @grpc/grpc-js
- @hyperledger/fabric-protos
- @types/node
- ajv
- fabric-contract-api
- fabric-shim-api
- fast-safe-stringify
- long
- reflect-metadata
- winston
- yargs
- yargs-parser

## 构建依赖

- caniuse-lite
- chai
- chai-as-promised
- chai-things
- cpx
- eslint
- mocha
- mockery
- nyc
- rewire
- rimraf
- sinon
- spec-junit-splitter-mocha-reporter

## 安装行为

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

## 版本和新鲜度

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

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Alpha: 2.0.0-alpha, Beta: 2.4.0-dev-20211109, Latest: 2.5.8, Latest 1.1: 1.1.5, Latest 1.2: 1.2.4, Latest 1.4: 1.4.6, Rc1: 1.4.0-rc1, Rc2: 1.4.0-rc2, Release: 2.4.2-dev-20220504, Unstable: 2.5.3
- **Version Count:** 305
- **Maintainers:** hyperledger-lf, hyperledger-ghci, openwalletfoundation, lfdt-npm, rafaelapb
- **Publisher:** hyperledger-ghci
- **Engines:** Node: >=18
- **Integrity:** sha512-9j4ehj6kfz+dld4yuxN8nYsXcr8s5WiqdPrse1szEAPTFEhQU5vJ1/Z8CeVZXTYAXekrI4i79MjPHNU54RwD8A==
- **Shasum:** 913862b9980c7b52e46b90666eeca015985fd1fe
- **Unpacked Size:** 1,682,907
- **File Count:** 0
- **Created At:** 2017-08-17T20:49:19.572Z
- **Latest Published At:** 2024-12-04T09:38:49.747Z
- **Modified At:** 2025-10-02T09:59:03.059Z


## 相关链接

- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [widdershins](https://www.automicvault.com/zh-hans/pkg/npm/widdershins/) - Both packages touch the same language runtime or ecosystem. Shared terms: api, fast, fast-safe-stringify, node, safe.
- [backport](https://www.automicvault.com/zh-hans/pkg/npm/backport/) - Both packages touch the same language runtime or ecosystem. Shared terms: node, parser, types, winston, yargs.
- [newrelic](https://www.automicvault.com/zh-hans/pkg/npm/newrelic/) - Local package facts share a topical domain. Shared terms: api, grpc, grpc-js, safe, stringify.

## 来源

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