Gathering detailed insights and metrics for mongoclean-cli
Gathering detailed insights and metrics for mongoclean-cli
Gathering detailed insights and metrics for mongoclean-cli
Gathering detailed insights and metrics for mongoclean-cli
npm install mongoclean-cli
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
24 Commits
3 Watchers
1 Branches
1 Contributors
Updated on Jun 02, 2017
Latest Version
0.0.6
Package Id
mongoclean-cli@0.0.6
Size
3.48 MB
NPM Version
3.10.3
Node Version
6.6.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
4
4
Clean all the collections in a mongo database thru the CLI. This is actually a simple wrapper for the excelent mongo-clean
1$ npm install mongoclean-cli --save-dev
1$ mongoclean-cli -h 2 3Usage: 4 mongoclean-cli [OPTIONS] [ARGS] 5 6Options: 7 -u, --url [STRING] The URL for the mongoDB || MONGO_HOST env (Default is mongodb://localhost) 8 -p, --port [NUMBER] The PORT for the mongoDB || MONGO_PORT env (Default is 27017) 9 -d, --db [STRING] The name for the DB || MONGO_NAME env (Default is test) 10 -h, --help Display help and usage details
It uses dotenv, so be careful if you have a .env file in your current working directory (${PWD})
A simple way to use it is to call it in your test script before running the actual test tool.
1 "scripts": { 2 "test": "cp .env.test .env && mongoclean-cli && mocha" 3 },
or
1 "scripts": { 2 "test": "mongoclean-cli -h mongodb://my-mongodb-host -p 1234 -d testdb && mocha" 3 },
MIT
... are welcome
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 0/24 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
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
41 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