# Install fabric-shim with npm

A node.js implementation of Hyperledger Fabric chaincode shim, to allow endorsing peers and user-provided chaincodes to communicate with each other. Version 2.5.8 via npm; verified 2024-12-04.

## Install

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

Additional install commands:

### Portable and language managers

- npm (100%):

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

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:fabric-shim
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/fabric-shim>
- **Version:** 2.5.8
- **Source summary:** A node.js implementation of Hyperledger Fabric chaincode shim, to allow endorsing peers and user-provided chaincodes to communicate with each other
- **Homepage:** <https://github.com/hyperledger/fabric-chaincode-node#readme>
- **Repository:** <https://github.com/hyperledger/fabric-chaincode-node>
- **Upstream docs:** <https://github.com/hyperledger/fabric-chaincode-node#readme>
- **License:** Apache-2.0
- **Source archive:** <https://registry.npmjs.org/fabric-shim/-/fabric-shim-2.5.8.tgz>
- **Issue tracker:** <https://github.com/hyperledger/fabric-chaincode-node/issues>
- **Published:** 2024-12-04T09:38:49.747Z
- **Last updated:** 2024-12-04T09:38:49.747Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- fabric-chaincode-node (cli)
- fabric-chaincode-node (alias)

## Dependencies

- @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

## Build dependencies

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

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.5.8
- Package-manager updated: 2024-12-04
- Local data: ok
- Upstream repository: https://github.com/hyperledger/fabric-chaincode-node
- warning: The package-manager record has not been updated in over a year.
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for fabric-shim. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **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


## Related links

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

## Sources

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