prpcow
v2.0.0-alpha.23
Published
Plain RPC (Remote Procedure Call) over WebSocket
Downloads
137
Maintainers
Readme
PRPCOW
Plain Remote Procedure Call Over Websocket
What is the PRPCOW?
PRPCOW is a new kind of RPC, that takes advantage of the advancement in WebSocket
technology, and the power of Node.js
.
Why use PRPCOW?
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
modelResolvers
andfunctionResolvers
Ability to use your own Websocket implementation
Installation
Install prpcow
with npm
npm i prpcow
Or install into Dev dependencies
npm i --save-dev prpcow
Examples
Check the tests folder for a better understanding of how the prpcow works
Contributing
Contributions are always welcome!
See CONTRIBUTING.md for ways to get started.