New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

link-checker-cli

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

link-checker-cli

CLI tool to check for broken links in a website or project

latest
npmnpm
Version
1.0.37
Version published
Maintainers
1
Created
Source

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

Example:

blc inspect -s=http://yoursite.com -r 

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)

Excluded

Flags -img (--image) -css(--style) -e(--external) can be marked as false which means CLI will skip those links. Count of the excluded links will be displayed in the final report.

Keywords

link-checker

FAQs

Package last updated on 22 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts