Gathering detailed insights and metrics for tsrpc
Gathering detailed insights and metrics for tsrpc
npm install tsrpc
Typescript
Module System
Node Version
NPM Version
73.7
Supply Chain
72.7
Quality
77.6
Maintenance
100
Vulnerability
100
License
TypeScript (99.31%)
JavaScript (0.69%)
Verify real, reachable, and deliverable emails with instant MX records, SMTP checks, and disposable email detection.
Total Downloads
62,724
Last Day
23
Last Week
67
Last Month
423
Last Year
7,820
MIT License
1,808 Stars
423 Commits
194 Forks
44 Watchers
5 Branches
3 Contributors
Updated on Mar 14, 2025
Minified
Minified + Gzipped
Latest Version
3.4.17
Package Id
tsrpc@3.4.17
Unpacked Size
193.69 kB
Size
40.91 kB
File Count
7
NPM Version
10.8.2
Node Version
20.17.0
Published on
Nov 11, 2024
Cumulative downloads
Total Downloads
Last Day
64.3%
23
Compared to previous day
Last Week
-52.1%
67
Compared to previous week
Last Month
-40.8%
423
Compared to previous month
Last Year
-37.7%
7,820
Compared to previous year
EN / 中文
A TypeScript RPC framework with runtime type checking and binary serialization.
Official site: https://tsrpc.cn (English version is on the way)
npx create-tsrpc-app@latest
1export interface ReqHello { 2 name: string; 3} 4 5export interface ResHello { 6 reply: string; 7}
1import { ApiCall } from "tsrpc"; 2 3export async function ApiHello(call: ApiCall<ReqHello, ResHello>) { 4 call.succ({ 5 reply: 'Hello, ' + call.req.name 6 }); 7}
1let ret = await client.callApi('Hello', { 2 name: 'World' 3});
https://github.com/k8w/tsrpc-examples
The best TypeScript serialization algorithm ever. Without any 3rd-party IDL language (like protobuf), it is fully based on TypeScript source file. Define the protocols directly by your code.
This is powered by TSBuffer, which is going to be open-source.
TypeScript has the best type system, with some unique advanced features like union type, intersection type, mapped type, etc.
TSBuffer may be the only serialization algorithm that support them all.
See API Reference.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 commit(s) and 4 issue activity found in the last 90 days -- score normalized to 3
Reason
Found 2/28 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
14 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-03-10
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More