grpc-lite is a zero-dependency package that downloads and installs a prebuilt gRPC binary (v1.0.1) from Google Cloud Storage. It was published in 2016 and targets Node.js v4–v6. The package is essentially a wrapper around the official gRPC Node.js package, providing a simplified installation by avoiding native compilation. However, it is severely outdated, relies on a specific prebuilt binary, and bundles a busybox binary for Linux. It does not support Node.js >=7 and is not actively maintained. For modern projects, use the official @grpc/grpc-js package.
npm install grpc-liteNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates loading a protobuf definition and making a unary gRPC call using the legacy grpc-lite API.
Use the official @grpc/grpc-js package for modern gRPC support.
Use Node.js 6.x or lower, or migrate to @grpc/grpc-js.
Do not use in production environments. It poses a security risk.
Install the package: npm install grpc-lite@2016.12.3
Run on a supported platform or use @grpc/grpc-js instead.