0.1.2 • Published 4 years ago

net-checker v0.1.2

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

how to use

  1. install package globally npm install net-checker -g

  2. a url text list, for example

https://www.github.com
https://www.bing.com
https://www.google.com
  1. exec the command net-checker check path/to/your/url-text

  2. get the result

┌────────────────────────┬────────┐
│ url                    │ status │
├────────────────────────┼────────┤
│ https://www.github.com │ ✅     │
├────────────────────────┼────────┤
│ https://www.bing.com   │ ✅     │
├────────────────────────┼────────┤
│ https://www.google.com │ ❌     │
└────────────────────────┴────────┘

documentation

possible result

  1. success
  2. failed (timeout or error)

options

environments

  • DEBUG=net-checker: get verbose output
  • CONNECTION_TIMEOUT=10000: change connection timeout

command

net-checker check <source> <destination>

source: the source url txt file, it is required!

destination: the export raw result, it is optional.

contribution

yarn
0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago