Express middleware that transcodes JSON HTTP requests to gRPC and vice versa, similar to grpc-gateway but as a Node.js library. Current stable version is 0.4.0, with active development. It allows Express apps to serve a gRPC service via HTTP/1.1 JSON without an external proxy. Handles protocol buffer metadata, streaming, and error mapping. Differentiators: pure JavaScript, zero external proxy dependency, full TypeScript support, works with any gRPC service definition.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Package is ESM-only since v0.3.0. Default export removed.
Helper function to load proto files. Returns a Promise with the proto definition.
MiddlewareOptions is a TypeScript type, not a value. Use type import to avoid bundling issues.
Sets up an Express server with gRPC-JSON transcoding middleware, loading a proto file and proxying requests to a gRPC backend.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.