PRPCOW is a new kind of RPC, that takes advantage of the advancement in WebSocket technology, and the power of Node.js.
Supports Node.js (
>=16.x) as well as all modern browsers
Allows you to use functions natively like
await someFunc()
After connecting, the server and the client become equal (the client can provide functions for execution)
Ability to create your own
modelResolversandfunctionResolvers
Ability to use your own Websocket implementation
Install prpcow with npm
npm i prpcowOr install into Dev dependencies
npm i --save-dev prpcowCheck the tests folder for a better understanding of how the prpcow works
Contributions are always welcome!
See CONTRIBUTING.md for ways to get started.