Skip to content

matt-ross16/link-checker-tool

 
 

Repository files navigation

link-checker-tool

This tool is used to check whether an URL is available or not. ##Installation Clone the source locally:

$ git clone https://github.com/phast184/link-checker-tool.git
$ cd link-checker-tool

Install project dependencies:

$ npm install

Features

  • Offline support
  • Check all valid URLs in a file
  • Read multiple files at once
  • Check if an URL is available

Usage

Check all URL in a file

$ lct -f foo.js

Check a single URL

$ lct -fu https://github.com/phast184/link-checker-tool.git

Read multiple files at once

$ lct -f index2.html test1.txt test.txt

Output

1.jpg

GOOD: the URL is available with the status code of 200

BAD: the URL is not available with the status code of 400 or 404

UNKNOWN: other status code will be shown as unknown

License

MIT © [Thanh Tien Phat Nguyen]

About

A simple CLI used to check whether an URL is available

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 96.2%
  • JavaScript 3.8%