Generated gRPC client and server interfaces for Digitalkin's service APIs, providing type-safe Node.js bindings. Current stable version is 2.2.3, with releases tied to API updates. Key differentiators include full TypeScript support, ESM-first module system, and auto-generated service definitions. The library depends on @grpc/grpc-js v1.13.3 peer dependency for gRPC communication.
npm install service-apis-nodeNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to initialize both gRPC client and server using the generated interfaces with TypeScript.
Convert project to ESM or use dynamic import().
Update imports to use named exports as shown in documentation.
Use credentials.createSsl() for production.
Pin exact version in package.json to avoid breaking changes from API updates.
Use import statement or dynamic import() in your module.
Change import to: import { ServiceClient } from 'service-apis-node'.Ensure server is started and accessible, check host:port.