
Security News
crates.io Ships Security Tab and Tightens Publishing Controls
crates.io adds a Security tab backed by RustSec advisories and narrows trusted publishing paths to reduce common CI publishing risks.
wait-for-localhost-cli
Advanced tools
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.
npm 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]
--timeout Maximum time to wait in milliseconds.
Examples
$ wait-for-localhost 8080 && echo 'Server is ready'
$ wait-for-localhost 8080 --status-codes 200,201 && echo 'Server is ready'
$ wait-for-localhost 8080 --timeout 5000 && echo 'Server is ready'
FAQs
Wait for localhost to be ready from the command-line
The npm package wait-for-localhost-cli receives a total of 1,451 weekly downloads. As such, wait-for-localhost-cli popularity was classified as popular.
We found that wait-for-localhost-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
crates.io adds a Security tab backed by RustSec advisories and narrows trusted publishing paths to reduce common CI publishing risks.

Research
/Security News
A Chrome extension claiming to hide Amazon ads was found secretly hijacking affiliate links, replacing creators’ tags with its own without user consent.

Security News
A surge of AI-generated vulnerability reports has pushed open source maintainers to rethink bug bounties and tighten security disclosure processes.