// Sorry about writing this, but I want to maintain a notif about the API const Socket = require('../socket'); const Space = require('../space'); let text = new Space(); text.adhoc("\ \n\ For a node.js YWOT api: \n\ & http://github.com/feynmansfedora/ywot-clean \n\ "); let out = text.towrite([-6,20]); let main = new Socket(); function write(){ main.write(out.slice()); console.log('set'); setTimeout(write,2000); } main.on('open',write);