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

@creoit.com/design-md

v0.6.5

Published

CLI for design-md-generator: detect, scan, brief, init, update

Readme

@creoit.com/design-md

Generate and maintain a DESIGN.md for any web project, driven by an AI agent.

The CLI deterministically extracts design tokens from your codebase (Tailwind config, shadcn CSS variables, plain CSS custom properties). The AI agent writes the prose. The result is a single, lint-clean DESIGN.md describing your design system.

Status: alpha. The DESIGN.md format itself is alpha; this generator tracks it.

Quick start

1. Install the CLI

npm i @creoit.com/design-md

2. Install the agent adapter for your editor

# Claude Code
npx design-md install --agent claude-code

# Cursor
npx design-md install --agent cursor

# Antigravity (or any agent that reads AGENTS.md)
npx design-md install --agent antigravity

3. Use it

In Claude Code, type:

/design-md

It auto-detects: scaffolds a new DESIGN.md if none exists, otherwise refreshes the existing one against the current codebase. (/design-md-init and /design-md-update exist if you want to force a flow.)

In Cursor and Antigravity the workflow attaches automatically when DESIGN.md is in context — just ask the agent to "create" or "update" the design system file.

What you get

The generated DESIGN.md follows the official spec: YAML front matter with extracted tokens (colors, typography, spacing, rounded, components) and Markdown sections — Overview, Colors, Typography, Layout, Elevation & Depth, Shapes, Components, Do's and Don'ts. The agent is prompted to be exhaustive in the Components section: header, footer, app name, page chrome, and every concrete component the product uses (buttons, inputs, cards, modals, navigation, feedback, data display) — each with its purpose, the tokens it pulls from, and its variants/states.

Validate with the official linter:

npx @google/design.md lint DESIGN.md

Framework support

| Framework | What's extracted | |---|---| | Tailwind CSS v3 | tailwind.config.{js,ts,cjs,mjs} — colors, fontFamily, fontSize, spacing, borderRadius. Handles satisfies Config and module.exports. Flattens blue.500blue-500. | | Tailwind CSS v4 | @theme blocks (incl. @theme inline). Maps --color-*, --radius-*, --spacing[-*], --text-*, --font-*. | | shadcn/ui | :root { --* } blocks. Naked HSL triplets and hsl() are converted to #RRGGBB hex; oklch() preserved with a warning. | | Plain CSS variables | :root blocks classified by value shape (color vs dimension). |

Planned: MUI, Chakra UI, Mantine, component pattern detection.

CLI reference

# Inspection
npx design-md detect [path]                       # detected frameworks (JSON)
npx design-md scan   [path]                       # extracted tokens (YAML)
npx design-md brief  [path]                       # full agent brief (markdown)

# Write paths
npx design-md init   [path] [--out FILE] [--name NAME] [--print-brief]
npx design-md update [path] [--design FILE] [--brief-only] [--no-brief]

# Adapter installer
npx design-md install --agent claude-code|cursor|antigravity [path]

# Validation (delegated to @google/design.md, installed separately)
npx @google/design.md lint DESIGN.md
npx @google/design.md diff DESIGN.md DESIGN.new.md

The CLI never calls an LLM. Token extraction is deterministic; the agent writes the prose.

Source

github.com/varunsat/design.md-generator

License

MIT © Creo IT