Experimental and temporary fork of the official @grpc/grpc-js library (v0.1.6) adding support for Unix Domain Sockets (UDS) on Node.js >=4.0. This package was created before UDS was natively supported in the main gRPC library. It provides both client and server gRPC implementations over UDS. Not actively maintained — users should migrate to the official @grpc/grpc-js package (v1.0+) which natively supports UDS. The package ships TypeScript types but has a very small install base and is no longer updated.
npm install grpc-udsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a gRPC server listening on a Unix Domain Socket using the grpc-uds package.
Replace `grpc-uds` with `@grpc/grpc-js` and change imports accordingly.
Use named imports like `import { Server } from 'grpc-uds'` instead of relying on the default export.Upgrade to Node >=10 for best compatibility.
Ensure `grpc-uds` is installed: `npm install grpc-uds` (or add to package.json).
Verify your .proto file path and that you have called `loadSync` before accessing the service.
Ensure the parent directory exists and your process has write permissions. Set `UDS_PATH` to a writable location.