# fabric-shim-api

> A node.js API of Hyperledger Fabric chaincode shim, to allow endorsing peers and user-provided chaincodes to communicate with each other

Latest version **2.5.8** (published 2024-12-04) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install fabric-shim-api
pnpm add fabric-shim-api
yarn add fabric-shim-api
bun add fabric-shim-api
```

## Health

**Score 45/100 (D)** — status: stable.

Positive: has types; no vulnerabilities; high maintenance score.

Warnings: low downloads; no esm support.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 2.5.8 |
| Published | 2024-12-04 |
| First published | 2019-09-06 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=18 |
| Dependencies | 0 |
| Unpacked size | 34.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 263 |
| Maintainers | hyperledger-lf, hyperledger-ghci |
| Keywords | fabric-shim, Hyperledger Fabric, Fabric Shim |

## Links

- npm: https://www.npmjs.com/package/fabric-shim-api
- Repository: https://github.com/hyperledger/fabric-chaincode-node
- Homepage: https://github.com/hyperledger/fabric-chaincode-node#readme
- Issues: https://github.com/hyperledger/fabric-chaincode-node/issues
- npm.io page: https://npm.io/package/fabric-shim-api

## Recent versions

- 2.5.8 (latest) — 2024-12-04
- 2.5.3 (unstable) — 2023-03-17
- 2.4.2-dev-20220504 (release) — 2022-05-04
- 2.4.0-dev-20211109 (beta) — 2021-11-09
- 2.5.7 — 2024-09-27
- 2.5.6 — 2024-06-13
- 2.5.5 — 2024-05-31
- 2.5.4 — 2023-06-16
- 2.5.2 — 2023-01-25
- 2.5.1 — 2023-01-11
- 2.5.0 — 2023-01-05
- 2.4.3-dev-20220505 — 2022-05-05
- 2.4.2 — 2022-05-04
- 2.4.1-dev-20220504 — 2022-05-04
- 2.2.3 — 2022-05-03
- … 52 more at https://npm.io/package/fabric-shim-api/versions

## README

[![NPM](https://nodei.co/npm/fabric-shim-api.svg?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/fabric-shim-api/)


[![Version](https://badge.fury.io/js/fabric-shim-api.svg)](http://badge.fury.io/js/fabric-shim-api)

This `fabric-shim-api` library provides type definitions for the `fabric-shim` module. It is also a dependency of the `fabric-contract-api`  As this is a pure interface module it allows the `fabric-contract-api` annotations to be used in client application without the need to pull in unneeded required dependencies.

Detailed explanation on the concepts and programming model can be found here: [https://hyperledger-fabric.readthedocs.io/en/latest/smartcontract/smartcontract.html](https://hyperledger-fabric.readthedocs.io/en/latest/smartcontract/smartcontract.html).


## License

This package is distributed under the
[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0),
see LICENSE for more information.

---
_Source: https://npm.io/package/fabric-shim-api · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
