Registry / api / pando-grpc

pando-grpc

JSON →
library1.4.5jsnpmunverified

A prototype gRPC web client library for Node.js, version 1.4.5. Provides a simple wrapper to make gRPC-web requests from Node.js using the Envoy proxy. Requires manual download of protoc-gen-grpc-web and protobuf code generation. Not actively maintained; limited documentation and no TypeScript support.

npm install pando-grpc
INSTALL
IMPORT
SIG · PANDO-GRPC
P
pando-grpc
apijavascriptv1.4.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PandoClient
import { PandoClient } from 'pando-grpc'
const PandoClient = require('pando-grpc')
ESM-only; no default export available.
grpc
import { grpc } from 'pando-grpc'
import grpc from 'pando-grpc'
Named export only, not default.
getTodos
import { getTodos } from 'pando-grpc'
Function for making gRPC-web requests.

Shows how to create a gRPC-web client and call a simple RPC.

const { grpc } = require('pando-grpc'); const client = new grpc.Client('http://localhost:8081', grpc.credentials.createInsecure()); const request = { userId: '123' }; client.getTodos(request, (err, response) => { if (err) console.error(err); else console.log(response); });
Debug
Known issues
deprecatedPackage is no longer maintained; security vulnerabilities may exist.
fix
Switch to a maintained gRPC-web client like @grpc/grpc-js or grpc-web.
affects: >=0.0.0
gotchaRequires manual installation of protoc-gen-grpc-web and protobuf compilation before use.
fix
Follow the setup steps in the README; ensure protoc-gen-grpc-web is in PATH.
affects: >=0.0.0
Errors
Common errors & fixes
Error: Cannot find module 'pando-grpc'
Package not installed or missing dependencies.
fix
Run 'npm install pando-grpc' from project root.
TypeError: client.getTodos is not a function
Incorrect method name or missing protobuf definition.
fix
Ensure generated JS files are present and loaded.
Upgrade
Version history
1.4.5latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
26 hits · last 30 days
node
22
Resources
pando-grpc — npm install pando-grpc · libregistry