Gathering detailed insights and metrics for minimisted
Gathering detailed insights and metrics for minimisted
Gathering detailed insights and metrics for minimisted
Gathering detailed insights and metrics for minimisted
npm install minimisted
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
7 Stars
48 Commits
3 Watching
1 Branches
2 Contributors
Updated on 23 Jun 2024
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
-4.9%
75,490
Compared to previous day
Last week
0.2%
431,300
Compared to previous week
Last month
2.9%
1,891,378
Compared to previous month
Last year
37.3%
19,353,848
Compared to previous year
A handy wrapper of
minimist
npm install minimisted
You can write your cli like the following:
1// Your cli's entry point 2const main = (argv) => { 3} 4 5require('minimisted')(main)
where argv
is the command line options parsed by minimist
i.e. minimist(process.argv.slice(2))
.
Using object destructuring syntax, you can write it like the following:
1/** 2 * @param {boolean} help Shows help message if true 3 * @param {boolean} version Shows the version if true 4 * ... 5 * @param {string[]} _ The parameters 6 */ 7const main = ({ help, version, _ }) => { 8} 9 10require('minimisted')(main)
1const minimisted = require('minimisted')
process.argv.slice(2)
.This calls main
with command line options parsed by the minimist with the given options.
MIT
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/6 approved changesets -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
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
license file not detected
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
18 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-18
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