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

open-ds

v0.3.0

Published

Create or add a complete design system to a project: tokens, components, Storybook, docs and agent files using open-ds schemes

Readme

open-ds

Design systems as answered questions.

An Open DS scheme is a whole design system written as data. It answers a fixed set of questions, gives the reason for every answer, and the tokens, components, usage rules and voice follow from those answers. This package lets you read a scheme, ask why it decided something, and take the whole system into your project as code you own.

Site: open-ds.dev · Source: github.com/3dyonic/Open-DS

Take a whole design system

npx open-ds list
npx open-ds create my-ds --scheme dense-data

create writes a full design system project for one scheme:

| Folder | What it holds | | --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | | tokens/src/, tokens/build.mjs | The DTCG token source and its Style Dictionary build: CSS for every brand in light and dark, the shadcn and Tailwind theme, and JSON. | | src/components/ui/ | The scheme's components, built on shadcn/ui and Radix and themed by its tokens. | | stories/ | A Storybook of every component, with the scheme's own content. | | docs/ | Docusaurus docs: reasons, voice, foundations, components and themes. | | scheme.json | Every answer with its why and because, every usage rule and the voice. | | AGENTS.md, .claude/skills/ | What a coding agent reads before it writes UI. |

Then npm install and npm run storybook or npm run docs. The code is copied into your project: you own it.

Add it to an existing app

npx open-ds init dense-data --dir .
npx open-ds add dialog --dir .

init copies the tokens, the components, AGENTS.md and the agent skill into an app. add brings one more component with the components and packages it needs.

Ask why

npx open-ds show dense-data
npx open-ds why dense-data typography.definition
npx open-ds why dense-data button/primary/background
npx open-ds when dense-data "a number in a table"
npx open-ds component dense-data button
npx open-ds context dense-data button                 # short, ends with its sections
npx open-ds context dense-data button --section keyboard

A created project has context/: one short booklet per component, color and task, and a router (context/index.json) that says what to load for a file. npx open-ds context --file <path> prints that; npx open-ds context --write regenerates the folder.

Check and plan

npx open-ds check .
npx open-ds copy dense-data button "Export"
npx open-ds change dense-data content.q2 moderate
npx open-ds token dense-data "border of a field with an error"
npx open-ds fit "a console where analysts triage alerts all day"

check lists raw colors and sizes, components the scheme does not carry, variants it does not use and a context/ that no longer matches the scheme, and exits 1 when it finds any. Each finding names the booklet section that answers it. copy checks a label or message against the voice. change plans a change without making it. token finds the token for an intent. fit ranks the schemes against a product.

Add --json to any of these, and to list, show, why, when and context, for machine-readable output.

Schemes

| Scheme | For | | ------------------ | ----------------------------------------------------------- | | dense-data | Security operations and data-heavy tools for daily experts. | | content-first | Long reading and publishing. | | accessible-first | Public services that everyone must be able to use. | | multi-brand | Several brands on one platform. | | brand-expressive | Campaigns and launches. |

The questions and answers are a starting point, not a standard: change any answer in your own scheme.

Built on open source

shadcn/ui, Radix UI, Tailwind CSS, Style Dictionary, Storybook, Docusaurus, TanStack Table and Lucide, each under its own licence.

Licence

MIT, a 3dyonic project.