Skip to content

Instantly share code, notes, and snippets.

@adamrights
Created March 11, 2014 06:42
Show Gist options
  • Save adamrights/9480716 to your computer and use it in GitHub Desktop.
Save adamrights/9480716 to your computer and use it in GitHub Desktop.
var json = {
encode: JSON.stringify,
decode: JSON.parse
};
var MsgPack = require('node-msgpack');
msgpack = {
encode: MsgPack.pack,
decode: function(str) { return MsgPack.unpack(new Buffer(str)); }
};
bison = require('bison');
module.exports = json;
//module.exports = msgpack;
//module.exports = bison;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment