gRPC connection pool for Node.js (version 1.0.6). Maintains a pool of gRPC client connections to reuse, reducing connection overhead. Minimal API: constructs a pool with `require('grpc-conn-pool')`, then gets a connection via `.getConnection()`. No active development. Supports only CommonJS. Key differentiator: lightweight, simple, no external dependencies beyond @grpc/grpc-js. Last updated 2021.
npm install grpc-conn-poolNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to create a connection pool for a gRPC client, get a connection, use it, and release it back.
Use require() or migrate to ESM-compatible library.
Use pool.getConnection() directly; it returns a pre-constructed client.
Always call pool.releaseConnection(client) in a finally block.
Consider using @grpc/grpc-js with built-in channel pooling, or other maintained pools.
npm install grpc-conn-pool
const Pool = require('grpc-conn-pool');Ensure Pool is called with `new` and valid options.
Check server address and credentials.