CLI tool to check for broken links in a website or project
npm install link-checker-cli> Find broken links, missing images and anchor elements
Node.js >= 18 is required. There're two ways to use it:
shell
npm i link-checker-cli -g
`
After that, check out the help for available options:
`shell
blc --help inspect
`
Example:
`shell
blc inspect -s=http://yoursite.com -r
``-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)