Gathering detailed insights and metrics for egg-session-mongo
Gathering detailed insights and metrics for egg-session-mongo
Gathering detailed insights and metrics for egg-session-mongo
Gathering detailed insights and metrics for egg-session-mongo
npm install egg-session-mongo
Typescript
Module System
Min. Node Version
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
2 Stars
794 Commits
2 Watchers
7 Branches
2 Contributors
Updated on Apr 24, 2025
Latest Version
2.0.2
Package Id
egg-session-mongo@2.0.2
Unpacked Size
8.55 kB
Size
3.26 kB
File Count
8
NPM Version
6.4.1
Node Version
10.15.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
A session extension for store session in MongoDB.
see Chinese version: 中文
1$ npm i egg-session-mongo --save
1// {app_root}/config/plugin.js 2exports.sessionMongo = { 3 enable: true, 4 package: 'egg-session-mongo', 5};
or you can overwrite you MongoStore
options in app.js
.
1// {app_root}/app.js 2module.exports = app => { 3 const MongoStore = require('egg-session-mongo')(app); 4 5 app.beforeStart(async () => { 6 app.sessionStore = new MongStore(/* options */); 7 }); 8};
see app.js for more detail.
1// {app_root}/config/config.default.js 2exports.sessionMongo = { 3 url: 'mongodb://127.0.0.1/test' 4};
see config/config.example.js for more detail.
Please open an issue here. or open an issue just at this repo's issue for more timely reply
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
3 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 2
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
68 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
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