1.0.3 • Published 6 years ago
is-it-online v1.0.3
Is It Online?
Wait for a URL to return 2XX, show an OS notification, and exit.
Motivation
I got tired of repeatedly refreshing my localhost pages in the browser to see if docker environment had finished (re)starting...
Usage
- Install:
npm i -g is-it-online - Use:
is-it-online http://localhost:8080
Native Binary
Native binary's based on pkg are a work in progress.
I could use electron, but I'd like to find a better option - one which doesn't result in a 100 MB binary.
Contributing
Local Development
Local development is typical for a node application:
npm installnpm develop
Local Installation
To install your local working copy:
npm packnpm i -g is-it-online-X.X.X.tgz