UNPKG

node-l

Version:

Elle interfacing with Node.js

22 lines (18 loc) 558 B
var nodeq = require('../index'); //to connect to elle var sizeof = require('object-sizeof'); nodeq.connect({host: "192.168.1.168", port: 9091}, function(err, con) { if(err) throw err; //where v is v:`w xasc `w`b!(1024?1000;1024?1000) con.k("j:enlist `i`f`j`e`c!(10i;10f;10000000000000j;1e10;string `fsdklflkns)", function(err, res) { console.log(sizeof(res)); if(err){ throw err; } }); con.k("8162#j", function(err, res) { console.log(sizeof(res)); if(err){ throw err; } }); });