Tsrpc

screenshot of Tsrpc
express
nestjs

A TypeScript RPC framework, with runtime type checking and serialization, support both HTTP and WebSocket. It is very suitable for website / APP / games, and absolutely comfortable to full-stack TypeScript developers.

Overview

The TSRPCEN is a robust TypeScript RPC framework designed for developers seeking runtime type checking and efficient binary serialization solutions. This versatile framework stands out for its pure TypeScript implementation and strong emphasis on type safety, making it an ideal choice for building scalable applications. Whether you're working with HTTP, WebSocket, or various other protocols, TSRPCEN promises high performance and reliability, having already been validated by services with over 100 million users.

As the landscape of application development continues to evolve, having a framework that supports full-stack project creation can significantly enhance productivity. TSRPCEN allows you to define protocols directly in your code without needing additional third-party IDL languages, providing a streamlined development experience.

Features

  • Runtime Type Checking: Ensures that type safety is maintained at runtime, minimizing errors during execution.
  • Binary Serialization: Supports efficient data transmission and storage through advanced binary serialization methods.
  • Pure TypeScript: Built entirely on TypeScript without relying on decorators or external languages, allowing developers to leverage TypeScript's strengths directly.
  • Protocol Flexibility: Compatible with HTTP, WebSocket, and various other protocols to suit different application needs.
  • Backward Compatibility: Optional compatibility with JSON for easier integration into existing systems and workflows.
  • High Performance: Designed for reliability and speed, validated through extensive real-world usage with over 100 million users.
  • Direct Protocol Definition: Simplifies the process of defining protocols by allowing developers to annotate their code directly rather than using additional IDL languages.
  • Support for Advanced TypeScript Features: Incorporates TypeScript's unique capabilities, such as union types and mapped types, making it a powerful tool for complex applications.
express
Express

Express.js is a simple Node.js framework for single, multi-page, and hybrid web applications.

nestjs
Nest

A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript.

fullstack
Fullstack

A fullstack boilerplate provides a starter application that includes both frontend and backend. It should include database, auth, payments, user roles and other backend services to build a fully featured saas or webapps.

rollup
Rollup

RollupJS is a popular and efficient JavaScript module bundler that takes the code from multiple modules and packages them into a single optimized file, minimizing the overall size of the application and improving its performance.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.