{"library":"fabric-shim-api","type":"library","category":null,"description":"The `fabric-shim-api` package provides the Node.js API for Hyperledger Fabric chaincode shim, facilitating communication between endorsing peers and user-provided chaincodes. Its primary role is to offer TypeScript type definitions for the `fabric-shim` module, and it serves as a dependency for `fabric-contract-api`, enabling the use of annotations in client applications without pulling in unnecessary runtime dependencies. The current stable version is 2.5.8, part of the v2.5 LTS series. Releases typically follow the Hyperledger Fabric LTS cadence, with point releases addressing fixes and dependency updates. Key differentiators include its lightweight nature as a type-only package, its integral role in the Fabric Node.js chaincode ecosystem, and its support for modern Node.js runtimes (currently Node 22 for the latest versions).","language":"javascript","status":"active","version":"2.5.8","tags":["javascript","fabric-shim","Hyperledger Fabric","Fabric Shim","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install fabric-shim-api","imports":["import { ChaincodeInterface } from 'fabric-shim-api';","import { Stub } from 'fabric-shim-api';","import { SuccessResponse, ErrorResponse, Response } from 'fabric-shim-api';"]},{"cmd":"yarn add fabric-shim-api","imports":[]},{"cmd":"pnpm add fabric-shim-api","imports":[]}],"homepage":"https://hyperledger-fabric.readthedocs.io","github":"https://github.com/hyperledger/fabric-chaincode-node","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/fabric-shim-api","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/fabric-shim-api/compatibility"}}