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

csstuner

v0.0.3

Published

Devtool overlay to tune your CSS design tokens live — colors, radius, fonts.

Readme

CssTuner

Devtool overlay to tune CSS design tokens live on your real pages.

Install

npm install csstuner

Usage

import { CssTuner } from 'csstuner'

export default function Layout({ children }) {
  return (
    <html>
      <body>
        {children}
        <CssTuner />
      </body>
    </html>
  )
}

Auto-removes itself in production.

Features

  • OKLCH color picker — perceptually uniform sliders (L/C/H) + paste any format (hex, hsl, rgb, oklch)
  • Dark mode toggle — edit light and dark tokens independently
  • Inspect mode — click any element to see which tokens affect it
  • Save to file — writes changes back to your CSS file via companion
  • AI palette — describe a style ("fintech, deep blue, serious") and get a coherent palette
  • Gamut awareness — sRGB indicator for wide-gamut colors

Framework support

Works with any CSS custom properties on :root. Auto-detects and groups variables for:

  • shadcn/ui
  • Tailwind v4
  • Radix Themes
  • Open Props
  • Any custom CSS variables

Props

<CssTuner
  vars={{
    '--brand-orange': { label: 'Brand', group: 'Custom' },
    '--success': { label: 'Success', group: 'Feedback' },
  }}
  position="bottom-left"   // 'bottom-left' | 'bottom-right'
  persist={true}            // save tweaks to localStorage
  companionUrl="http://localhost:7801"
  aiEndpoint="https://your-endpoint.com/api/ai"
/>

All props are optional. Zero config by default.

Save to file

Run the companion server to write changes back to your CSS:

npx csstuner

It auto-detects your CSS file (components.json, :root {} blocks, @theme directives). No config needed.

AI palette

The AI prompt bar generates palettes from natural language descriptions. It respects your existing variable names and applies changes live.

Works in inspect mode too — select an element first, then prompt to restyle only that element's tokens.

License

MIT