Installations
npm install connect-cloudantdb
Developer Guide
Typescript
No
Module System
CommonJS
Min. Node Version
*
Node Version
4.6.0
NPM Version
2.15.9
Score
63.9
Supply Chain
71.5
Quality
70.1
Maintenance
50
Vulnerability
97.6
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Developer
stanix
Download Statistics
Total Downloads
13,547
Last Day
1
Last Week
5
Last Month
16
Last Year
338
GitHub Statistics
2 Stars
30 Commits
2 Watching
1 Branches
1 Contributors
Bundle Size
853.06 kB
Minified
230.38 kB
Minified + Gzipped
Package Meta Information
Latest Version
0.0.2
Package Id
connect-cloudantdb@0.0.2
Size
3.80 kB
NPM Version
2.15.9
Node Version
4.6.0
Total Downloads
Cumulative downloads
Total Downloads
13,547
Last day
0%
1
Compared to previous day
Last week
0%
5
Compared to previous week
Last month
100%
16
Compared to previous month
Last year
-11.1%
338
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
5
Dev Dependencies
1
Connect-CloudantDb
=======
NodeJS Session Store for Cloudant backed applications.
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.
You can use like below, when setting up your Express 4.x app:
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
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
license file not detected
Details
- Warn: project does not have a license file
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Score
2.6
/10
Last Scanned on 2025-01-27
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More