Home Manual Reference Source Test

broken-link-checker-local

Find broken links, missing images, etc in your HTML, even in local files.

CircleCI codecov API Docs Greenkeeper badge

Just a tiny wrapper around broken-link-checker by stevenvachon that allows you to check local directories for broken links.

Installation

With Node.js (version 10 or higher) installed, run

npm install -g broken-link-checker-local

to install this module globally.

Usage

All commands of broken-link-checker can be used in exactly the same way with this module. The only difference is that broken-link-checker-local is available as blcl.

In addition to running checks on URLs by running

blcl http://yoursite.com -ro

you can also check local directories by providing a path instead of a URL:

blcl ./path/to/directory -ro

You can run blcl --help to check for available options.