Gathering detailed insights and metrics for askpassword
Gathering detailed insights and metrics for askpassword
Gathering detailed insights and metrics for askpassword
Gathering detailed insights and metrics for askpassword
npm install askpassword
98.8
Supply Chain
71.1
Quality
85.2
Maintenance
100
Vulnerability
100
License
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
1 Stars
32 Commits
1 Forks
14 Watching
2 Branches
10 Contributors
Updated on 24 Jun 2024
TypeScript (100%)
Cumulative downloads
Total Downloads
Last day
36.9%
8,923
Compared to previous day
Last week
103.2%
77,001
Compared to previous week
Last month
22%
176,456
Compared to previous month
Last year
74.9%
1,253,343
Compared to previous year
2
A password prompt that does not print data to the TTY.
1import askpassword from 'askpassword'; 2 3console.log('Please enter a password:'); 4const password = await askpassword(process.stdin); 5console.log('You entered the following password:', password.toString());
The stream passed to askpassword
can be any kind of Readable
stream.
If it is a TTY, askpassword
will temporarily remove all other 'data'
and
'readable'
listeners from it, and set the TTY into raw mode if it has not
been in raw mode to begin with.
read
instead?Because read
does not work inside a Node.js REPL.
Apache-2.0
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
SAST tool detected but not run on all commits
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 1/22 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
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
branch protection not enabled on development/release branches
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