fluentinstroll / Link-Checker

An app to let people check URLs and find out if they actually work!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Link-Checker

An app to let people check URLs and find out if they actually work!

This app uses node, therefore you need to have the latest version of node installed on your computer.

Features included

  • Colourizing output. Good URLs should be printed in green, bad URLs in red, and unknown URLs in gray
  • Running the tool with the v or version argument should print the name of the tool and its version
  • Supports both --version and -v command line arguments
  • Use the -g and -b arguments after you enter the filename in order to only print good or bad links!
  • The app will also let you know what your exit code is after it's finished (0 for only good links, 1 for at least 1 bad link, and 2 for at least 1 unknown link)
  • Use the -i argument to ignore certain links in a file!

To use:

Needed to use

  • npm
  • a text file that you would like to test the links within

Windows:

  • npx l-checker <path-to-file>

Linux:

  • install Link Checker: npm install l-checker
  • run the app: linkchecker <path-to-file>

To ignore links in a file

linkchecker <path-to-file> -i <path-to-ignore-file>

To see good, bad, or all links

Good: linkchecker <path-to-file> -g Bad: linkchecker <path-to-file> -b All: linkchecker <path-to-file>

Used Libraries

About

An app to let people check URLs and find out if they actually work!

License:MIT License


Languages

Language:JavaScript 100.0%