dzen2 binary as a Node module.
npm install --save dzen2-bin
You need GCC and make
.
apt-get install build-essential
should do the trick.
var dzenPath = require('dzen2-bin')
var spawn = require('child_process').spawn
var dzen = spawn(dzenPath, ['-dock', '-fn', 'monospace'])
dzen.stdin.write('hello world\n')