Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including broken-link-checker-local with all npm packages installed. Try it out:

var brokenLinkCheckerLocal = require("broken-link-checker-local")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

broken-link-checker-local v0.2.1

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

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 6 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.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free