Skip to content

Latest commit

 

History

History
56 lines (34 loc) · 1.7 KB

README.MD

File metadata and controls

56 lines (34 loc) · 1.7 KB

MIT License View this project on NPM View this project on NPM Known Vulnerabilities Quality Gate Status

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 and functionResolvers

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.

Acknowledgements

License

MIT