Skip to content

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.

License

Notifications You must be signed in to change notification settings

codeluosiyu/toa-rpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

toa-rpc, easy to use WebRTC data channels and media transport

Build CI

  • Easy to use
  • Lightweight
    • No need to deal with WebRTC stack!
    • Small binary sizes
  • Type infos for Typescript

This project is NodeJS bindings for libdatachannel library.

Please check libdatachannel for Compatibility & WebRTC details.

Install

npm install node-datachannel

Supported Platforms

Linux-x64 Linux-armv7 Linux-arm64(1) Windows-x86 Windows-x64 Mac
Node V10 + + + + + +
Node V11 + + + + + +
Node V12 + + + + + +
Node V13 + + + + + +
Node V14 + + + + + +
Node V15 + + + + + +
Node V16 + + + + + +
Node V17 + + + + + +
  1. Please note that; For arm64 platform we need OpenSSL to be installed locally.

Example Usage

Test

Build

Please check here

Examples

Please check examples folder

API Docs

Please check docs page

Thanks

Thanks to Streamr for supporting this project by being a Sponsor!

About

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published