xray-grpc

JSON →
library 0.3.1 ·javascript
verified Jun 7, 2026

GRPC client for Xray, providing typed gRPC bindings for Xray-core management APIs. Current stable version is 0.3.1. This package wraps Xray's gRPC services (HandlerService, StatsService, etc.) with TypeScript definitions, enabling programmatic control of Xray proxies, routing, and statistics. It is a lightweight, type-safe alternative to manual protobuf usage or CLI-based config management. The library is actively maintained with a focus on compatibility with Xray-core's gRPC interface. Release cadence is irregular, tied to upstream Xray changes. It differentiates itself by being the only dedicated npm package for Xray gRPC with TypeScript support.