# tsrpc-proto

> TSRPC service proto definition

Latest version **1.4.4** (published 2026-07-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install tsrpc-proto
pnpm add tsrpc-proto
yarn add tsrpc-proto
bun add tsrpc-proto
```

## Health

**Score 60/100 (C)** — status: active.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.4.4 |
| Published | 2026-07-09 |
| First published | 2019-07-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 24.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Maintainers | k8w |

## Links

- npm: https://www.npmjs.com/package/tsrpc-proto
- Repository: https://github.com/k8w/tsrpc-proto
- Homepage: https://github.com/k8w/tsrpc-proto#readme
- Issues: https://github.com/k8w/tsrpc-proto/issues
- npm.io page: https://npm.io/package/tsrpc-proto

## Dependencies (2)

- [tslib](https://npm.io/package/tslib.md) *
- [tsbuffer-schema](https://npm.io/package/tsbuffer-schema.md) ^2.2.0

## Recent versions

- 1.4.4 (latest) — 2026-07-09
- 1.4.0-dev.1 (dev) — 2022-02-25
- 1.4.3 — 2022-09-06
- 1.4.2 — 2022-04-17
- 1.4.1 — 2022-04-14
- 1.4.0 — 2022-02-25
- 1.4.0-dev.0 — 2022-02-09
- 1.3.12 — 2022-01-15
- 1.3.11 — 2022-01-15
- 1.3.10 — 2021-11-24
- 1.3.9 — 2021-10-18
- 1.3.8 — 2021-10-18
- 1.3.7 — 2021-10-18
- 1.3.6 — 2021-10-17
- 1.3.5 — 2021-10-17
- … 24 more at https://npm.io/package/tsrpc-proto/versions

## README

# TSRPC Proto

## Introduction
- [TSRPC](https://github.com/k8w/tsrpc) is a TypeScript RPC framework, with runtime type check and binary serialization, both support HTTP and WebSocket.
- `TSRPCProto` is the service definition of it.
- It includes two type service: `ApiService` and `MsgService`.
    - ApiService is like B/S model, send request and wait for reponse.
    - MsgService is like pub/sub model, send and listen specific message.
- Also include some type definition that shared between TSRPC families.

## API
See [API Reference](./docs/api/tsrpc-proto.md).

---
_Source: https://npm.io/package/tsrpc-proto · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
