LogPilot-Lite Client is an official TypeScript gRPC client for the LogPilot-Lite log management server, version 1.0.1. It enables Node.js applications to produce and consume logs with automatic offset management. The package ships TypeScript types and supports modern Node.js (20+). Key differentiators include a simple producer/consumer API for streaming logs, built-in offset tracking, and storage options (sqlite as default) for persistent log consumption.
npm install logpilot-lite-clientNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Illustrates producing a log entry to a gRPC server and consuming logs with offset management.
Ensure `meta` is provided only once in the object: `meta: { userId: 'user-1' }`.Upgrade Node.js to version 20 or later.
Implement manual error handling and consider custom offset management if exactly-once processing is required.
Install regular gRPC dependencies: npm install @grpc/grpc-js @grpc/proto-loader
Run `npm install logpilot-lite-client` and ensure the import path is correct (no extensions or subpaths).
Ensure LogPilot-Lite server is running on the configured address (default localhost:50051). Use `serverAddress` option correctly.
Use named import `{ LogPilotConsumer }` and ensure version >=1.0.0.No dependency data recorded yet.