#wait #http-server #http #sockets #file #command-line-tool #file-exists

bin+lib wait-on

Library and CLI Utility to wait on the availability of resources such as Files, HTTP Servers, Ports & Sockets

10 releases

0.0.10 Jun 10, 2024
0.0.9 Jun 10, 2024
0.0.4 May 22, 2024
0.0.3 Apr 8, 2024

#1619 in Web programming

Download history 131/week @ 2024-03-29 295/week @ 2024-04-05 30/week @ 2024-04-12 142/week @ 2024-05-17 15/week @ 2024-05-24 424/week @ 2024-05-31 406/week @ 2024-06-07 33/week @ 2024-06-14

706 downloads per month

MIT/Apache

23KB
300 lines

wait-on

Library and CLI Utility to wait on the availability of resources such as Files, HTTP Servers, Ports & Sockets

Crates.io Documentation Build Clippy Formatter

Installation

cargo install wait-on

Usage

Wait for a file to exist

wait-on file /path/to/file

Wait for a HTTP Resource to respond

wait-on http GET https://example.com

Wait for a Socket to be available using TCP Protocol

wait-on tcp -i 127.0.0.1 -p 8080

License

This project is licensed under the MIT license and the Apache License 2.0.

Dependencies

~7–22MB
~284K SLoC