Gathering detailed insights and metrics for wait-for-localhost-cli
Gathering detailed insights and metrics for wait-for-localhost-cli
Gathering detailed insights and metrics for wait-for-localhost-cli
Gathering detailed insights and metrics for wait-for-localhost-cli
Wait for localhost to be ready from the command-line
npm install wait-for-localhost-cli
Typescript
Module System
Min. Node Version
Node Version
NPM Version
67
Supply Chain
72.2
Quality
74.3
Maintenance
100
Vulnerability
99.6
License
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
120 Stars
16 Commits
10 Forks
4 Watchers
1 Branches
6 Contributors
Updated on Jun 14, 2025
Latest Version
3.2.0
Package Id
wait-for-localhost-cli@3.2.0
Unpacked Size
4.21 kB
Size
2.02 kB
File Count
4
NPM Version
10.6.0
Node Version
20.12.2
Published on
May 18, 2024
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
2
5
Wait for localhost to be ready from the command-line
Useful if you need a local server to be ready to accept requests before executing the next command.
I personally use this to wait for webpack-dev-server
to be ready before launching Electron.
1npm install --global wait-for-localhost-cli
$ wait-for-localhost --help
Usage
$ wait-for-localhost [port]
Options
--use-get Use the HTTP-method GET instead of HEAD to test if the server is ready.
--path Use a custom path. For example, /health for a health-check endpoint.
--status-codes Define status codes indicating the server is ready. [Default: 200]
Examples
$ wait-for-localhost 8080 && echo 'Server is ready'
$ wait-for-localhost 8080 --status-codes 200,201 && echo 'Server is ready'
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 5/16 approved changesets -- score normalized to 3
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
detected GitHub workflow tokens with excessive permissions
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
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
security policy file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
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