prpcow
TypeScript icon, indicating that this package has built-in type declarations

2.0.0-alpha.23 • Public • Published

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

Package Sidebar

Install

npm i prpcow

Weekly Downloads

136

Version

2.0.0-alpha.23

License

MIT

Unpacked Size

389 kB

Total Files

134

Last publish

Collaborators

  • yeskiy