thrift-client
A nodejs thrift client.
Demo
Client
let ThriftClient = ; const host = '127.0.0.1'; // Server Hostconst port = 3000; // Service Portconst schema = ` service MyService { bool ping() }`; // Service Thrift File Contents let client = host port schema ; client;
Server
const port = 3000; const schema = ` service MyService { bool ping() }`; let ThriftClient = ; let server = ThriftClientstart port schema ; server;