Package Exports
- routecheck
- routecheck/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (routecheck) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
๐ ๏ธ RouteCheck CLI - Because Links Deserve to Be Valid!

Are your links alive, or are they already dead?
With RouteCheck CLI, youโll never have to worry about broken links (404s) or orphaned pages again! This command-line tool is your trusty sidekick to make sure your websiteโs links are always in tip-top shape.
๐ Features
- Check URLs: Check a single URL or batch-check multiple links from a file.
- Format Flexibility: Output the results in text, CSV, or JSON.
- Parallel Processing: Speed up the process with the
--parallelflag and check multiple links simultaneously. - Detailed Results: Get an HTTP status code and the health of each link. Dead links? Weโll let you know!
๐ฆ Installation
Install via npm:
You can install RouteCheck CLI globally using npm:
npm install -g routecheckโก Usage
Check a single URL:
npx routecheck http://example.comYouโll get a simple text-based output telling you if the link is alive or not, including the HTTP status code.
Check multiple links from a file:
Save a list of links in a .txt file (e.g., links.txt), one URL per line. Then run:
npx routecheck checkfile links.txtIt will process all the URLs in the file and let you know the status of each one.
Add parallel requests (for speed!):
Want to speed up the process when checking many links? Use the --parallel flag:
npx routecheck checkfile links.txt --parallelThis will check all the URLs at once, instead of one by one, making your checking experience lightning-fast!
Output in different formats:
If youโre fancy and need the results in CSV or JSON, hereโs how you do it:
- Text (default):
npx routecheck checkfile links.txt
- CSV:
npx routecheck checkfile links.txt csv
- JSON:
npx routecheck checkfile links.txt json
๐ฏ Why Use RouteCheck CLI?
- SEO-friendly: Broken links can hurt your SEO rankings. This tool ensures that your links are always healthy.
- Time-saver: Instead of clicking every link on your website manually, this CLI automates the entire process.
- Batch Processing: Whether itโs one URL or a thousand, this tool handles it allโquickly and efficiently.
- Works Locally: Use it from your terminal. No need for extra software or complex installations.
๐ค FAQ
Q: What does this tool do?
A: It checks URLs for status codes (like 404s) and helps you make sure your links are alive!
Q: Can I use it for my website?
A: Absolutely! In fact, we highly recommend it.
Q: Does this tool check for everything?
A: It checks links for HTTP status codes. We don't deal with deep-dives into content or redirects... yet. ๐
๐ Shoutout
Link-checking made simple and easy. Because no one likes broken links... except maybe broken-hearted websites. ๐
๐จโ๐ป Author
Builder of tools, breaker of links (intentionally), and occasional debugger of existential crises. Passionate about clean code, developer tooling, and making the web a better place (one unbroken link at a time).
When not coding, probably debugging life .