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

@booleanpress/starlight

v0.1.1

Published

BooleanPress brand, layout, SEO/AI layer and quality gates for Starlight documentation sites.

Readme

@booleanpress/starlight

The shared core of every BooleanPress documentation site: brand, layout, the SEO and AI-discoverability layer, and the quality gates, as one Starlight plugin.

Use

// astro.config.mjs
import starlight from '@astrojs/starlight';
import { booleanpress } from '@booleanpress/starlight';
import { defineConfig } from 'astro/config';

export default defineConfig({
  site: 'https://docs.booleansmtp.com', // required: canonical URLs, Open Graph images, the sitemap
  trailingSlash: 'always',
  integrations: [
    starlight({
      title: 'BooleanSMTP Docs', // the last word is shown beside the logo as the section label
      logo: { light: './src/assets/brand/logo-light.svg', dark: './src/assets/brand/logo-dark.svg', replacesTitle: true },
      plugins: [
        ...booleanpress({
          product: 'booleansmtp',
          productName: 'BooleanSMTP',
          repo: 'booleanpress/docs.booleansmtp.com-src',
          developersUrl: 'https://developers.booleansmtp.com',
          headerLinks: [{ label: 'Developers', href: 'https://developers.booleansmtp.com/' }],
          ogLogo: './src/assets/brand/mark-256.png', // square PNG, from the site root
          schemaLogo: '/brand/mark-512.png', // square PNG in public/
        }),
      ],
    }),
  ],
});
// src/content.config.ts
import { docsLoader } from '@astrojs/starlight/loaders';
import { docsSchema } from '@astrojs/starlight/schema';
import { booleanpressSchema } from '@booleanpress/starlight/schema';
import { defineCollection } from 'astro:content';

export const collections = {
  docs: defineCollection({ loader: docsLoader(), schema: docsSchema({ extend: booleanpressSchema }) }),
};

The site also provides public/favicon.svg and public/apple-touch-icon.png.

What it adds

  • Plugins: starlight-llms-txt (/llms.txt, /llms-full.txt), starlight-links-validator (the build fails on a broken internal link), starlight-image-zoom.
  • Brand: BooleanPress colours and Inter, light and dark; the logo with a section label; header links to sibling sites; a BooleanPress footer row.
  • SEO and AI: an Open Graph image per page (/og/<page>.png); JSON-LD WebSite, Organization, TechArticle, BreadcrumbList; article:modified_time; /robots.txt; a Markdown twin of every page at <page>/index.md, linked with rel=alternate and served as text/markdown through _headers; "Copy page · Open in ChatGPT · Open in Claude".
  • Schema: description and sources are required on every page.
  • Components (@booleanpress/starlight/components): ProBadge, DevLink (a link into developersUrl), ProviderCard.

MIT licensed.