@jasper-mui/me-check-link
v1.2.2
Published
A CLI to check link of html pages
Downloads
2
Readme
me-check-links
A simple command-line tool to check the status of links
or
npm: npm i @iasper-mui/me-check-link -g
or
manually:
- Download files via the zip file or using git
- To install dependencies:
npm install
- To create a symlink for the command:
npm link
- The result of the links shows up in color to display the status of links. Does not apply to -j option as all links will show in green
- Green links are good links with an HTTP status of 200.
- Red links are bad links of HTTP status 400 or 404.
- Grey links are unknown with any other HTTP status.
The command can check HTML pages links via URL using -u option and supplying a valid HTTP URL.
The tool can check multiple URLs or HTML files to be checked at once if more than enter one URL or HTML file is entered one after another, separated by a space. But url and html cannot be mixed together in a single command. The -u option is still required when checking multiple URLs.
Handles Unix and windows style of args -u or /u
Handles links that cause timeouts smoothly
Output in JSON format
Flags to choice to only show good or bad links