Node Soct
Proxy classes over socket.io.
Version 2.x.x w/ TypeScript!
Install
npm i -s soct
Getting Started
Class to proxy
// foo.js { thisstate = bar: true ; } { return thisstatebar; } { thisstatebar = val; } { return val * 2; } moduleexports = Foo;
New Foo Service
//service.js const createSoctServer = ;const Foo = ; ;
Use Foo Proxy
// app.js const createSoctClient = ;const Foo = ; const foo = ; const run = async { console; // => true foobar = false; console; // => false console; // => 10}; ;