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

omniui-design-tokens

v0.1.1

Published

OmniUI design tokens (JSON), Vue 3 + Tailwind sandbox preview, and omniui CLI (token fetch, sandbox render, visual capture).

Readme

omniui-design-tokens

OmniUI:设计令牌tokens/)+ omniui CLItoken fetchsandbox renderevaluate visual)+ 内置 Vite / Sandpack 预览壳。面向 Vue 3 + Tailwind,运行时注入 --omni-* CSS 变量。

快速开始(npm,推荐)

npm install omniui-design-tokens
npx omniui token fetch --scene landing --theme light

全局安装后可直接使用 omniui

首次执行 omniui sandbox render 时,若内置 sandbox/sandpack-host/ 尚未安装依赖,CLI 会在对应目录自动运行 npm install(仅需一次)。

npm 包内仅包含 CLI 运行所需文件dist/tokens/sandbox/sandpack-host/scripts/lib/ 等);完整 docs/examples/SKILL.mdGitHub 仓库

快速开始(clone 仓库)

git clone https://github.com/h-yu-u/omniui-design-tokens.git
cd omniui-design-tokens
npm install
node dist/cli.js token fetch --scene landing --theme light

仓库含已构建的 dist/ 时,克隆后不必先跑 npm run build。修改 src/ 的维护者需执行 npm run build 并提交 dist/(见 docs/publish.md)。

文档

| | | |--|--| | Cursor / Claude 技能约定 | SKILL.md | | 安装与构建 | docs/setup.md | | npm 发布与 dist 策略 | docs/publish.md | | CLI | docs/cli.md | | 路由与 omni-preview.json | docs/routing.mddocs/omni-preview.schema.md |

预览示例

仅 clone 仓库时可用技能包根目录脚本(依赖 examples-preview/未打进 npm 包):

npm run preview:example -- examples/MultiPageDemo landing light

npm 包用户用沙箱预览(5173 等,见终端输出):

npx omniui sandbox render --app-dir ./path/to/MyApp --scene landing --theme light
# 或单文件 .vue
npx omniui sandbox render --component-file ./path/to/Page.vue --scene app --theme dark

包内附带 examples/MultiPageDemo/ 可作 omni-preview.json 参考;若从 node_modules/omniui-design-tokens 引用,请使用绝对路径或带 .. 的相对路径(解析规则见 docs/cli.md)。

目录结构(摘要)

  • src/dist/ — CLI 源码与编译产物
  • tokens/ — 场景 × 主题 JSON
  • examples-preview/ —本地 Vite 预览器(仅仓库preview:example
  • sandbox/sandpack-host/sandbox render 使用的宿主(随 npm 包发布)
  • examples/ — 官方示例(随 npm 包发布)
  • scripts/lib/omni-preview 同步逻辑(随 npm 包发布)

License

MIT