New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cache-service

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cache-service - npm Package Compare versions

Comparing version

to
0.1.6

2

package.json
{
"name": "cache-service",
"version": "0.1.5",
"version": "0.1.6",
"description": "A tiered caching solution for node.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -126,2 +126,30 @@ # cache-service

## redisData (only for use with `type` 'redis')
This is the most generic way to pass in your redis configuraiton options.
* type: object
#### Example
```javascript
var redisData = {
port: myRedisPort,
hostname: myRedisHostname,
auth: myRedisAuth
}
```
## redisUrl (only for use with `type` 'redis')
If you have all of your redis params already prepared as a URL in the following format: `http://uri:password@hostname:port`, then you can simply pass that URL with the object key `redisUrl`.
* type: string
## redisEnv
If you have a redis URL contained in an env variable (in process.env[redisEnv]), cache-service can retrieve it for you if you pass the env variable name with the object key `redisEnv`.
* type: string (only for use with `type` 'redis')
## defaultExpiration

@@ -128,0 +156,0 @@