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

@karaoke-cms/module-seo

v0.18.1

Published

SEO module for karaoke-cms — OG images, JSON-LD, robots.txt

Readme

@karaoke-cms/module-seo

Zero-config SEO for karaoke-cms — OG social card images, JSON-LD structured data, canonical tags, Twitter meta, and a robots.txt. Add it once; every published page gets the full treatment automatically.

Installation

npm install @karaoke-cms/module-seo

Usage

// karaoke.config.ts
import { defineConfig } from '@karaoke-cms/astro';
import { seo } from '@karaoke-cms/module-seo';

export default defineConfig({
  // ...
  modules: [seo()],
});

No options required. The module reads your existing title, description, date, and author frontmatter fields automatically.

What it adds

OG social card images

At build time, the module scans your dist/ folder and generates a .png social card for every page that has an og:title meta tag. Images are written to dist/og/<path>.png and wired up as og:image automatically.

Cards are rendered with Satori using a bundled Inter font — no external services, no API keys.

JSON-LD structured data

Every blog post gets a BlogPosting schema. Every docs page gets a TechArticle schema. Fields populated: name, description, datePublished, author.

Head meta tags

The module injects (or fixes) the following on every page:

| Tag | Value | |-----|-------| | <title> | De-duplicated (no My Site — My Site) | | canonical | Full URL from site in astro.config.mjs | | og:title | Post/doc title | | og:description | Frontmatter description | | og:site_name | Site title from karaoke.config.ts | | og:locale | en_US | | twitter:card | summary_large_image | | twitter:title | Post/doc title | | twitter:description | Frontmatter description |

robots.txt

Injects /robots.txt allowing all crawlers and disallowing /karaoke-cms/ (the dev-only handbook).

Routes

| Pattern | Description | |---------|-------------| | /robots.txt | Allows all crawlers, disallows /karaoke-cms/ |

Requirements

Set site: in astro.config.mjs to your production URL for canonical tags and OG images to resolve correctly:

// astro.config.mjs
export default defineConfig({
  site: 'https://your-domain.com',
  // ...
});

What's new in 0.13.1

No user-facing changes in this release.

What's new in 0.11.3

No user-facing changes in this release.

What's new in 0.11.0

  • Initial release — OG image generation, JSON-LD structured data, robots.txt
  • Title deduplication — fixes My Site — My Site in <title> tags
  • Canonical URLs<link rel="canonical"> on every page
  • Rich metaog:site_name, og:locale, Twitter card tags
  • Rich JSON-LDdatePublished and author fields on article schemas