1.0.13 • Published 4 years ago
@ctsy/rpc v1.0.13
Tsy`s RPC for nodejs and brower SDK
Support both JSON AND Buffer
how to use it
install this package
npm i @ctsy/rpc
import this package
import RPC from '@ctsy/rpc'
let rpc = new RPC();
let buffer = rpc.encode();
//or
let rpc = RPC.decode(buffer)