superagent-cache
Advanced tools
Comparing version 0.2.0 to 0.2.1
{ | ||
"name": "superagent-cache", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Superagent with flexible built-in caching.", | ||
"main": "index.js", | ||
"main": "superagentCache.js", | ||
"dependencies": { | ||
@@ -7,0 +7,0 @@ "superagent": "1.1.0", |
@@ -72,3 +72,3 @@ # superagent-cache | ||
You get the 'default configurations' when you don't provide any params to the `require('superagent-cache'()` command. This will return a fresh instance of `superagent` and bundle an instance of [cacheModule](https://github.com/jpodwys/cache-service-cache-module) for storing data. `cacheModule` is a slim, in-memory cache. | ||
You get the 'default configurations' when you don't provide any params to the `require('superagent-cache')()` command. This will return a fresh instance of `superagent` and bundle an instance of [cacheModule](https://github.com/jpodwys/cache-service-cache-module) for storing data. `cacheModule` is a slim, in-memory cache. | ||
@@ -82,3 +82,3 @@ # How Do I Use a Custom Configuration? | ||
var superagent = require('superagent'); | ||
var redisModule = require('cache-service-redis); | ||
var redisModule = require('cache-service-redis'); | ||
var redisCache = new redisModule({redisEnv: 'REDISCLOUD_URL'}); | ||
@@ -85,0 +85,0 @@ |
31464