i3-protocol
v0.2.1
Published
Encode&decode i3 ipc messages
Downloads
5
Readme
node-i3-protocol
encode&decode i3 ipc messages
Install
npm install i3-protocol
Usage
.encode(type[, message])
Encodes the given message. For available types, see i3 IPC
var i3p = require('i3p');
var message = i3p.encode(7); // get version info
socket.write(message);