wires-client

1.0.0 • Public • Published

wires-client

Wires-server client

var domain = require('wires-domain'); var client = require('wires-client');

domain.require(function(WiresClient) { WiresClient.send('localhost:3020', { command: "test", token : "1234", message: { hello: "world" }, log: function(log) { console.log("Some log is here", log) } }).then(function(msg) {

  }).catch(function(e) {

  })

})

/wires-client/

    Package Sidebar

    Install

    npm i wires-client

    Weekly Downloads

    2

    Version

    1.0.0

    License

    ISC

    Last publish

    Collaborators

    • nchanged