JSPM

  • Created
  • Published
  • Downloads 3854
  • Score
    100M100P100Q127164F
  • License MIT

It's like tRPC but... with JSON Schema Support, duplex streaming and support for service multiplexing. Transport agnostic!

Package Exports

  • @replit/river
  • @replit/river/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@replit/river) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

river - Streaming Remote Procedure Calls

It's like tRPC but...

  • with JSON Schema Support
  • with full-duplex streaming
  • with support for service multiplexing
  • over WebSockets

Levels of abstraction

  • Router
  • Service
  • Procedure

TODO

  • support broadcast