Package Exports
- @replit/river
- @replit/river/codec
- @replit/river/logging
- @replit/river/test-util
- @replit/river/transport
- @replit/river/transport/stdio
- @replit/river/transport/ws/client
- @replit/river/transport/ws/server
Readme
river - Streaming Remote Procedure Calls
It's like tRPC but...
- with JSON Schema Support
- with full-duplex streaming
- with support for service multiplexing
- with Result types and error handling
- over WebSockets
To use River, you must be on least Typescript 5 with "moduleResolution": "bundler"
.
Developing
npm i
-- install dependenciesnpm run check
-- lintnpm run format
-- formatnpm run test
-- run testsnpm run publish
-- cut a new release (should bump version in package.json first)