diff --git a/lib/cache.js b/lib/cache.js new file mode 100644 index 0000000..2eab92f --- /dev/null +++ b/lib/cache.js @@ -0,0 +1,7 @@ +'use strict' + +const redis = require('then-redis') + +const cache = redis.createClient() +cache.on('error', console.error) +module.exports = cache diff --git a/package.json b/package.json index dc47b53..57f7267 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,10 @@ "dependencies": { "vbb-util": "^0.9", "request-promise": "^2.0.1", - "vbb-parse-line": "^0.1.1" + "vbb-parse-line": "^0.1.1", + "co": "^4.6", + "shorthash": "^0.0.2", + "then-redis": "^2" }, "devDependencies": { "is-roughly-equal": "^0.1",