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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@iandolan/astro-redirects

v0.1.1

Published

Redirect table that compiles to nginx, Cloudflare, Astro and .htaccess, plus 404 target suggestion.

Readme

@iandolan/astro-redirects

One redirect table in the repo, reviewed in a diff, compiled to whatever your edge runs. Replaces Redirection and the Rank Math redirect manager, and closes the gap that costs rankings when a site leaves WordPress. Nothing lives only in a control panel nobody has the login for.

# propose a table by matching old URLs against the new sitemap
seokit-redirects plan --old export.wxr --new dist/sitemap-0.xml -o redirects.csv

# compile
seokit-redirects compile redirects.csv --format nginx -o dist/redirects.conf

# validate, and confirm every target actually exists
seokit-redirects check redirects.csv --sitemap dist/sitemap-0.xml

# ask which rule a path would hit
seokit-redirects test redirects.csv /blog/my-old-post

Output formats: nginx, redirects (Cloudflare Pages and Netlify), astro, htaccess. The nginx output uses a map rather than hundreds of location blocks, which matters once a WordPress migration brings a thousand old URLs.

Chains collapse (A to B to C becomes A to C). Loops and duplicate sources are errors and block compilation, because emitting a config from a table with a loop in it deploys the loop.

plan fuzzy-matches dead URLs against live ones and grades each match. Only high-confidence matches are marked auto-appliable, and even those are meant to be read in a diff. A wrong redirect is worse than a 404. It hides the problem and sends people to the wrong page. Matches it cannot make are listed as # NO MATCH rather than guessed at.

Part of the Dolan SEO Suite, WordPress SEO plugin functionality rebuilt for static Astro sites. Plain ESM, no build step.

MIT © Ian Dolan