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

@manavarya0909/design-ex

v1.0.0

Published

Extract the complete design language from any website — colors, typography, spacing, shadows, and more. Outputs AI-optimized markdown, W3C design tokens, Tailwind config, and CSS variables.

Downloads

129

Readme

design-extract

Extract the complete design language from any website. Produces an AI-optimized markdown file, W3C design tokens, Tailwind config, and CSS variables.

Install & Use

npx design-ex https://example.com

Or install globally:

npm install -g design-ex
design-ex https://example.com

What It Extracts

  • Colors — full palette with primary/secondary/accent/neutral classification
  • Typography — font families, type scale, heading/body styles, weight distribution
  • Spacing — spacing scale with automatic base unit detection
  • Border Radii — all unique values with size labels
  • Box Shadows — parsed and classified by visual weight
  • CSS Custom Properties — all :root variables, categorized
  • Breakpoints — media query breakpoints with standard labels
  • Transitions & Animations — easings, durations, keyframes
  • Component Patterns — buttons, cards, inputs, links with base styles

Output Files

| File | Description | |------|-------------| | *-design-language.md | Rich markdown optimized for AI/LLM consumption | | *-design-tokens.json | W3C Design Tokens format | | *-tailwind.config.js | Ready-to-use Tailwind CSS theme | | *-variables.css | CSS custom properties |

Options

design-ex <url> [options]

Options:
  -o, --out <dir>       Output directory (default: ./design-extract-output)
  -n, --name <name>     Output file prefix (default: derived from URL)
  -w, --width <px>      Viewport width (default: 1280)
  -h, --height <px>     Viewport height (default: 800)
  --wait <ms>           Wait after page load for SPAs (default: 0)
  --dark                Also extract dark mode styles
  --verbose             Show detailed progress

Claude Code Plugin

This is also a Claude Code plugin. Install it and use /extract-design <url> to extract design languages directly in your coding session.

License

MIT