Skip to content
/ prpcow Public

Plain RPC (Remote Procedure Call) over Web socket

License

Notifications You must be signed in to change notification settings

yeskiy/prpcow

Repository files navigation

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

About

Plain RPC (Remote Procedure Call) over Web socket

Resources

License

Stars

Watchers

Forks

Packages

No packages published