redis.js
299 Bytes
'use strict';
const util = require('util');
const redis = require('redis');
const bluebird = require('bluebird');
const _ = require('lodash');
bluebird.promisifyAll(redis);
class Redis {
constructor(options) {
this.client = redis.createClient(options.connect);
}
}
module.exports = Redis;