
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
connect-cloudantdb
Advanced tools
=======
npm install connect-cloudantdb
This is based on connect-couchbase, found at https://github.com/christophermina/connect-couchbase. This project is a fork of connect-cloudant with bugs fixed. The maintainer of the original connect-cloudant project could not be reached in order to accept the pull-requests.
var session = require('express-session');
var CloudantStore = require('connect-cloudantdb')(session);
var cloudantStore = new CloudantStore({
url: cloudant database url [ https://@UserName:@Password@UserName.cloudant.com ] //required
databaseName: 'sessions' (default sessions) //optional
ttl: 86400, //optional
prefix: 'sess', //optional
operationTimeout:2000, //optional
connectionTimeout:2000, //optional
});
cloudantStore.on('connect', function() {
debug("Cloudant Session store is ready for use");
});
cloudantStore.on('disconnect', function() {
debug("An error occurred connecting to Cloudant Session Storage");
});
var app = express();
app.use(session({
store: cloudantStore,
secret: 'your secret',
cookie: {maxAge:24*60*60*1000} //stay open for 1 day of inactivity
}));
Please file any bugs at https://github.com/stanix/connect-cloudant/issues
FAQs
Clodant session store for Connect forked from connect-cloudant
We found that connect-cloudantdb demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.