A gRPC client library for communicating with DEPI from Node.js, written in TypeScript. v1.0.3 provides proto-generated classes and higher-level utility functions (depiUtils) for streamlined interaction. Includes VS Code extension integration (DepiExtensionApi) for reusing sessions and invoking DEPI UI. Published on npm, ships TypeScript definitions. Use depiUtils for most operations; low-level async methods via addAsyncMethods. Build requires grpc-tools and ts-protoc-gen.
npm install depi-node-clientNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Authenticates to a DEPI server and lists resource groups using high-level utility functions.
Use the full path: import { DepiClient } from 'depi-node-client/dist/pbs/depi_grpc_pb'const client = new DepiClient(url, creds); addAsyncMethods(client); const res = await client.loginAsync(req);
npm install --target_arch=x64
Run 'npm install depi-node-client' and ensure import uses correct path.
Use named import: import { DepiClient } from 'depi-node-client/dist/pbs/depi_grpc_pb'After creating client, call addAsyncMethods(client) before using async methods.