@grpc/proto-loader

JSON →
library 0.5.0 ·javascript
verified Jun 7, 2026

Utility package for loading .proto files for gRPC, using Protobuf.js. Version 0.5.0 runs on Node >=6 and ships TypeScript types. It provides both async (load) and sync (loadSync) loading of protobuf definitions, returning a package definition object that can be consumed by gRPC libraries (grpc or @grpc/grpc-js). Supports options like keepCase, longs, enums, bytes, defaults, arrays, objects, oneofs, and includeDirs. It is the recommended replacement for the deprecated grpc.load(). Community-maintained, part of the grpc-node monorepo.