1.0.1 • Published 2 months ago
moca-client v1.0.1
node-moca-client
MOCA Client for Node.js
Example usage:
const conn = new MocaConnection('http://localhost:4600/service', 'SUPER', 'SUPER');
await conn.login();
const res = await conn.executeCommand(`list warehouses`);
if (res.eOk()) {
console.log(res.results.toJsonStr());
}
await conn.logout();