
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
recursive-link-checker
Advanced tools
Crawls a page/site and reports broken links or images.
npm install -g recursive-link-checker
or, just pull the Docker image:
docker pull ktbartholomew/link-checker
Don't forget: the name of the install package and the name of the binary are different. You're installing recursive-link-checker but will actually use the application as just link-checker.
The global npm binary way:
$ link-checker [options] <url>
The Docker way:
$ docker run --rm ktbartholomew/link-checker [options] <url>
Either way, when you run it, it looks something like this:
$ bin/link-checker http://localhost:8080/
[ BROKEN ] URL: http://localhost:8080/broken-link/
Error: Error: Not Found
Referrer: http://localhost:8080/about/
Element: <a href="/broken-link/">Broken Link</a>
Crawl complete! 1/22 links were broken (4.5% broken)
-h, --help output usage information
-c, --concurrency <num> How many links to check concurrently. Default: 5
-t, --threshold <num> Exit with error if this many broken links are found. Percentage of broken/total if < 1, count of total broken links if >= 1
-A, --no-assets Don’t check linked assets like JavaScript and CSS
-I, --no-images Don’t check images
-L, --no-links Don’t check hyperlinks
-v, --verbose Be more verbose
An exit code of 0 is a success and an exit code of 1 is a failure. The exit code can be manipulated by providing a value to --threshold.
To fail if 5% or more of all crawled links are broken (this is the default failure threshold):
$ link-checker --threshold 0.05 <url>
To fail if 5 or more links are broken:
$ link-checker --threshold 5 <url>
FAQs
Crawls a page/site and reports broken links or images.
We found that recursive-link-checker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.