Registry / testing / grpcc
library1.1.3jsnpmunverified

grpcc is a Node.js command-line tool for interacting with gRPC servers, enabling rapid testing and debugging of gRPC services without writing client code. Version 1.1.3 (latest) offers a simple REPL interface that loads .proto files and provides autocomplete for gRPC calls. Key differentiators: no need to write a client program, supports streaming RPCs, and uses Node.js REPL for interactive exploration. Currently in maintenance mode with sporadic updates, but remains functional for Node.js-based gRPC testing.

npm install grpcc
INSTALL
IMPORT
SIG · GRPCC
G
grpcc
testingjavascriptv1.1.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Starts an interactive REPL session to call gRPC methods defined in a .proto file against a running server.

grpcc --proto ./path/to/service.proto --address localhost:50051 --service ServiceName # Inside REPL, call methods: greet({name: 'Alice'}, (err, response) => { console.log(response); });
Debug
Known issues
deprecatedPackage is in maintenance mode; no active development.
fix
Consider alternatives like grpcurl (Go) or BloomRPC.
affects: >=1.0.0
gotchaRequires Node.js and global installation.
fix
Install with 'npm install -g grpcc'.
affects: >=1.0.0
gotchaProto file paths must be absolute or relative to current working directory.
fix
Use full path or ensure correct relative path.
affects: >=1.0.0
Errors
Common errors & fixes
Error: Cannot find module '@grpc/grpc-js'
Missing dependency after global install.
fix
Run 'npm install -g @grpc/grpc-js' alongside grpcc.
Error: ENOENT: no such file or directory, open 'path/to/service.proto'
Incorrect proto file path.
fix
Provide the full absolute path to the .proto file using --proto flag.
Upgrade
Version history
1.1.3latest on npm
Audit
Dependencies
@grpc/grpc-jsrequiredrequired dependency for gRPC functionality
protobufjsrequiredused for parsing .proto files
Agent activity
23 hits · last 30 days
node
22
Resources
packagegrpcc ↗
grpcc — npm install grpcc · libregistry