link-checker-cli
v1.0.31
Published
CLI tool to check for broken links in a website or project
Downloads
1,843
Maintainers
Readme
Broken Links checker
Find broken links, missing images and anchor elements
Installation
Node.js >= 18
is required. There're two ways to use it:
Command Line Usage
To install, type this at the command line:
npm i link-checker-cli -g
After that, check out the help for available options:
blc --help inspect
blc --help sitemap
Example:
blc inspect -s=http://yoursite.com -r
blc sitemap -s=http://yoursite.com
Flags
-s, --source Path to website
-r, --recursive Inspects every internal link of website. default: false
-img, --image Fetches all page images. (default: false)
-css, --style Add style links to response. (default: true)
-e, --external Add external links to response. (default: false)
-c, --concurrencySize Number of requests running simultaneous. (default: 10)