A Typescript SDK for xray-core gRPC Api https://www.npmjs.com/package/@ruject/xray-core
Find a file
2026-01-07 14:47:29 +00:00
.github/workflows first commit 2026-01-07 14:47:29 +00:00
src first commit 2026-01-07 14:47:29 +00:00
.envrc first commit 2026-01-07 14:47:29 +00:00
.gitignore first commit 2026-01-07 14:47:29 +00:00
bun.lock first commit 2026-01-07 14:47:29 +00:00
bunfig.toml first commit 2026-01-07 14:47:29 +00:00
eslint.config.ts first commit 2026-01-07 14:47:29 +00:00
flake.lock first commit 2026-01-07 14:47:29 +00:00
flake.nix first commit 2026-01-07 14:47:29 +00:00
LICENCE first commit 2026-01-07 14:47:29 +00:00
package.json first commit 2026-01-07 14:47:29 +00:00
README.md first commit 2026-01-07 14:47:29 +00:00
tsconfig.json first commit 2026-01-07 14:47:29 +00:00

XTLS SDK

Code Quality Code Size License Open Issues Commit Activity

A TypeScript SDK for interacting with Xray Core via gRPC API.

Example:

import { XrayClient } from '@ruject/xray-core';

const client = new XrayClient('127.0.0.1', '10000');
const req = await client.handler.addVmessUser({
    email: 'test@example.com',
    level: 0,
    tag: 'vmess-in'
});
console.log(req.isOk)