UNPKG

209 BJavaScriptView Raw
1/*eslint no-process-env: "off" */
2const Redis = require('ioredis');
3Redis.Promise = require('bluebird');
4
5const createClient = (host, port) => new Redis({host, port, db: 10});
6
7module.exports = createClient;
\No newline at end of file