1
0
mirror of https://github.com/redis/node-redis.git synced 2025-09-11 18:50:46 +03:00
Files
node-redis/benches/stress/codec.js
2012-07-05 19:20:56 -07:00

17 lines
311 B
JavaScript

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;