Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

connect-ibmdatacache

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

connect-ibmdatacache

IBM Datacache session store for Connect

latest
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

connect-ibmdatacache

connect-ibmdatacache is a IBM Datacache session store for Express/Node.js apps

Setup

npm install connect-redis express-session

Pass the express-session store into connect-redis to create a RedisStore constructor.

var session = require('express-session');
var IBMDataCacheStore = require('connect-ibmdatacache')(session);

app.use(session({
    store: new IBMDataCacheStore(options),
    secret: 'keyboard cat'
}));

FAQ

How does the data store know how to connect to the IBM Datacache service?

When deployed in IBM Bluemix, an app's attached services are found in the VCAP_SERVICES environment variable. This app looks for an attached IBM Datacache service and uses that to store session keys.

License

Apache-2.0

FAQs

Package last updated on 09 Feb 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts