mirror of
https://github.com/modernweb-dev/rocket.git
synced 2026-03-23 00:41:19 +00:00
* chore: fix Eleventy spelling * chore: misc CONTRIBUTING.md updates * chore: fix GitHub capitalization * chore: fix HTML capitalization * chore: fix JavaScript capitalization * chore: misc README.md updates * chore: update slack.md to match modernweb-dev/web * chore: misc docs/about updates * chore: misc docs/blog updates * chore: misc docs/docs updates * chore: fix mdjs capitalization * chore: fix Markdown capitalization * chore: fix Rocket capitalization * chore: fix apostrophes * chore: fix TypeScript capitalization * chore: consistently capitalize headings * chore: misc docs/guides updates * chore: misc packages/building-rollup updates * chore: misc packages/check-html-links updates * chore: misc packages/cli updates * chore: misc packages/plugins-manager updates * chore: misc packages/search updates * chore: fix tests * chore: fix lints
Check HTML Links
A fast checker for broken links/references in HTML.
Installation
npm i -D check-html-links
Usage
npx check-html-links _site
For docs please see our homepage https://rocket.modern-web.dev/docs/tools/check-html-links/.
Comparison
Checking the output of the 11ty-website with 13 missing reference targets (used by 516 links) while checking 501 files. (on January 17, 2021)
| Tool | Lines printed | Times | Lang | Dependency Tree |
|---|---|---|---|---|
| check-html-links | 38 | ~2.5s | node | 19 |
| link-checker | 3000+ | ~11s | node | 106 |
| hyperlink | 68 | 4m 20s | node | 481 |
| htmltest | 1000+ | ~0.7s | GO | - |