znode is a remote method execution library for Node.js and the browser.
 Underlying implementation uses msgpack5. Performance is optimized for binary type usage (JSON would be faster for cases other than binary types).
const RPC =/* basic method support */'pong'/* async methods work identicaly to sync methods */ping2: async 'pong2'/* supports binary types */Buffer/* you can also add static properties */API: 'v1'net
RPC methods can return anything that can be serialized by msgpack5. RPC methods can also return objects with method additiona methods that will be turned into additional remote methods.