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

@shiftescape/astro-toolbar-routes

v0.1.2

Published

Dev toolbar integration for Astro that shows a live, clickable route map of your entire project — grouped, searchable, and active only in development.

Readme

@shiftescape/astro-toolbar-routes

version downloads MIT License

A dev toolbar integration for Astro that shows a live, clickable route map of your entire project — grouped by type, searchable, and active only in development.

Route Map (6 routes)      🟢 3 static   🔴 2 SSR   🔵 1 endpoint
───────────────────────────────────────────────────────────────

📄 Pages
  🟢  /                                                       →
  🟢  /about                                                  →
  🟢  /blog                                                   →
  🔴  /blog/[slug]                              (SSR) (dynamic)
  🔴  /404                                                (SSR)

⚡ Endpoints
  🔵  /api/contact                                   (endpoint)

Features

  • 🗺 Live route map — every route in your project visible at a glance
  • 🔵 Highlight active route — current page is highlighted in the panel
  • 🖱 Click to navigate — click any static route to jump to it instantly
  • 🏷 Tags — dynamic, SSR, endpoint, and redirect routes clearly labelled
  • 🔍 Searchable — filter by URL pattern or file path in real time
  • 🔒 Dev-only — completely stripped in astro build, zero production footprint
  • 🔄 Live updates — reflects new pages added while dev server is running
  • 🚫 Zero dependencies — no external packages

Install

npm install -D @shiftescape/astro-toolbar-routes
# or
pnpm add -D @shiftescape/astro-toolbar-routes

Usage

// astro.config.mjs
import { defineConfig } from "astro/config";
import toolbarRoutes from "@shiftescape/astro-toolbar-routes";

export default defineConfig({
  integrations: [toolbarRoutes()],
});

Open your site in astro dev and click the map icon (🗺) in the bottom toolbar.

With options

toolbarRoutes({
  // Exclude specific routes or glob prefixes
  exclude: ["/admin", "/api/*"],

  // Show Astro internal routes (_astro/*, _server_islands/*, etc.)
  showInternalRoutes: false,
});

Options

| Option | Type | Default | Description | | -------------------- | ---------- | ------- | ----------------------------------------------------------------------- | | exclude | string[] | [] | Route patterns to hide. Supports exact match and * suffix wildcard. | | showInternalRoutes | boolean | false | Show Astro's internal routes like /_astro/* and /_server_islands/*. |

Route types

| Tag | Meaning | | ---------- | ---------------------------------------------------------------------------------------- | | (no tag) | Static page — click to navigate | | dynamic | Route has [param] or [...slug] segments — cannot navigate without a real param value | | SSR | Rendered on-demand (prerender: false) | | endpoint | API route (.ts / .js file in src/pages/) | | redirect | Configured redirect rule |

License

MIT © Alvin James Bellero