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

token-flow-manager

v0.1.1

Published

Local Design Tokens manager — visualize, edit and govern your DTCG token files.

Readme

token-flow-manager

Local Design Tokens manager — visualize, edit and govern your DTCG 2025.10 token files from a Figma-Variables-style dashboard, without leaving your project.

It starts a local Node server (bound to 127.0.0.1), parses every *.tokens.json, resolves aliases across collections and modes, and opens a dashboard in your browser. It never commits — it edits the source JSON in place, atomically, preserving key order and formatting.

Install & run

Requires Node ≥ 20. Runs in your default browser (no macOS Gatekeeper issues).

npx token-flow-manager            # welcome screen → pick a project
npx token-flow-manager ./design   # …or open a project directly

npm i -g token-flow-manager       # …or install globally, then just run:
tokenflow                         # opens the welcome screen
tokenflow ./design                # opens a project directly

Commands

tokenflow [path]      # start server + dashboard (welcome screen if no path)
tokenflow validate    # headless parse + resolve, exits 1 on errors (CI-friendly)
tokenflow init        # scaffold a tokenflow.config.json

Options for the default command: -p, --port <port>, --host <host>, --no-open (don't open the browser), --no-watch (don't watch for external changes).

Features

  • Variables table — one row per variable, one column per mode (light / dark / brand…), alias chips, inline editing, resizable columns.
  • OKLCH color picker with live sRGB / Display P3 gamut indicators; output as oklch(), color(display-p3 …) or HEX.
  • Cross-collection alias resolution ({group.token} + JSON Pointer) with cycle / broken-reference detection and quick-fixes.
  • Modes as columns: add / rename / delete / duplicate across one-file-per-theme, path-dimension and inline $value strategies.
  • Byte-exact undo / redo (⌘Z / ⌘⇧Z), server-side.
  • Sidebar group tree with Finder-style drag-and-drop, copy / cut / paste whole variables, full-text search (⌘S) + a command palette.
  • Welcome screen — recent projects + a native OS folder picker; no path on the command line required.
  • Distribution — a guided Style Dictionary v5 configurator with a sandboxed test-build report.

Configuration

Zero-config by default (one collection per *.tokens.json file). For multi-collection projects, run tokenflow init to scaffold a tokenflow.config.json:

{
  "collections": [
    { "name": "Tokens", "files": "tokens/**/*.tokens.json", "modes": ["light", "dark"] }
  ],
  "resolution": { "crossCollection": true, "order": ["Tokens"], "maxAliasDepth": 10 },
  "writeDebounceMs": 200
}

Links

License

MIT