Security News
Opengrep Emerges as Open Source Alternative Amid Semgrep Licensing Controversy
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
@swarthy/wait-for
Advanced tools
wait-for will try connect to server then exit with code 0
if server is available and 1
otherwise.
wait-for --postgresql postgres://postgres@localhost && npm run test-integration
# or
POSTGRESQL_URI=postgres://postgres@localhost wait-for --postgresql && npm run test-integration
wait-for --rabbitmq amqp://localhost && npm run test-integration
# or
RABBITMQ_URI=amqp://localhost wait-for --rabbitmq && npm run test-integration
wait-for --redis redis://localhost && npm run test-integration
# or
REDIS_URI=redis://localhost wait-for --redis && npm run test-integration
Wait for PostgreSQL, RabbitMQ and Redis (configured via environment)
wait-for --postgresql --rabbitmq --redis && npm run test-integration
CLI argument | Environment variable | Description | Default |
---|---|---|---|
--postgressql | POSTGRESQL_URI | Connection string | |
--rabbitmq | RABBITMQ_URI | Connection string | |
--redis | REDIS_URI | Connection string | |
-c, --max-attempts | Max attempt count | 60 | |
-d, --delay | Delay between attempts | 1000 | |
-q, --quiet | Quiet mode |
FAQs
Wait for (PostgresSQL|RabbitMQ|Redis) server is available
The npm package @swarthy/wait-for receives a total of 73 weekly downloads. As such, @swarthy/wait-for popularity was classified as not popular.
We found that @swarthy/wait-for demonstrated a not healthy version release cadence and project activity because the last version was released 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
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.