
Product
Introducing Supply Chain Attack Campaigns Tracking in the Socket Dashboard
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.
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
Example
$ wait-for-localhost 8080 && 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,464 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.

Product
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.

Research
Malicious PyPI package sympy-dev targets SymPy users, a Python symbolic math library with 85 million monthly downloads.

Security News
Node.js 25.4.0 makes require(esm) stable, formalizing CommonJS and ESM compatibility across supported Node versions.