npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

routecheck

v1.0.1

Published

A simple CLI tool to check the status of links (HTTP status codes) for files and individual URLs.

Readme

🛠️ RouteCheck CLI - Because Links Deserve to Be Valid! NPM version NPM downloads

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 --parallel flag 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.com

You’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.txt

It 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 --parallel

This 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

cinfinit

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 .