A lightweight wrapper around @grpc/grpc-js and @grpc/proto-loader that simplifies setting up gRPC servers and clients on Node.js. Version 0.1.1 is the latest stable release, published as a fork that replaces the native grpc dependency with the pure JavaScript @grpc/grpc-js. It provides a unified API for creating servers and clients, supports unary and streaming RPCs, and allows both callback and async route handlers. Its key differentiator is the reduced boilerplate—no manual proto loading or service registration is required. Release cadence is low; the package is not actively maintained (last update 2020).
npm install grpc-js-kitNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Sets up a gRPC server with a unary route and a client that calls it, using CJS require.
Evaluate alternative libraries or fork for continued support.
Run npm install @grpc/grpc-js @grpc/proto-loader grpc-js-kit
Use absolute paths or resolve relative to __dirname.
npm install @grpc/grpc-js
Use const { createClient } = require('grpc-js-kit');Provide absolute path or correct relative path from CWD.