Express session storage connector for IBM Cloudant. Version 1.0.0 (latest) provides a Cloudant-backed session store for express-session, with support for TTL, auto-cleanup of expired sessions, and integration with Bluemix/Cloud Foundry via VCAP_SERVICES. It wraps the official cloudant npm module. Minimal dependencies: express-session and cloudant. Not actively maintained; no updates since 2018.
npm install connect-cloudant-storeNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to initialize the Cloudant session store with explicit credentials and attach to express-session.
Create a database named 'sessions' in your Cloudant instance before starting the app.
Use require() instead of import.
Use cfenv to get credentials and pass a url instead, or manually extract the service URL.
Consider switching to a more modern session store like connect-couchdb or using @cloudant/cloudant directly with a custom store.
Run 'npm install cloudant' alongside connect-cloudant-store.
Use: var CloudantStore = require('connect-cloudant-store')(session);Verify your Cloudant credentials and ensure the URL is correct, e.g., https://user:pass@host.cloudant.com