metamaps--metamaps/realtime/node_modules/redis/lib/util.js

12 lines
231 B
JavaScript
Raw Normal View History

// Support for very old versions of node where the module was called "sys". At some point, we should abandon this.
var util;
try {
util = require("util");
} catch (err) {
util = require("sys");
}
module.exports = util;