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

@faravahar/girih

v0.4.1

Published

girih CLI — compile a multi-brand design system from tokens and component contracts

Readme

@faravahar/girih

The girih CLI — compiles a multi-brand design system from tokens and component contracts.

npm install -g @faravahar/girih   # or: npm install -D @faravahar/girih

Provides two identical binaries: girih and ds.

Starting a workspace

npx create-girih my-ds     # no CLI needed — scaffolds, installs, initialises
girih create my-ds         # same, if you already have the CLI
girih init                 # add girih to a project that already has a package.json

Commands

| Command | What it does | | ----------------------------- | ------------------------------------------------------------------------------------------------ | | girih check | Validate tokens, brands, contracts and extensions; print the resolved token table | | girih doctor | Diagnose the environment: node, package manager, resolution, build prerequisites, version skew | | girih generate [css\|react] | Compile the design system. --check verifies, --force overrides the drift gate | | girih brand create <name> | Add a brand overlay and register it | | girih eject <component> | Convert one generated component into a tracked fork | | girih forks | Report ejected forks that drifted from the current templates | | girih build | Compile the generated package to publishable dist/ | | girih bake | Version your design system from its contract diff and stage it in .ds/baked to publish | | girih update | Upgrade the @faravahar/girih-* packages in this workspace |

girih check validates what your workspace contains; girih doctor validates the environment it runs in. Between them they answer "it worked on my machine".

girih bake versions the design system you generated — not girih itself — and stages it into .ds/baked. It never calls npm or any registry; publishing that folder with whatever tool and registry you use is entirely up to you. Use girih bake --check to preview the version bump with no side effects.

What it guarantees

  • A brand overlay may only override token paths that already exist. New paths are a hard error, so a brand can never quietly become a fork.
  • Every design value in emitted CSS is a var(), and aliases stay live references — so switching brand is one attribute change with no rebuild.
  • girih generate refuses to overwrite a generated file you edited by hand, and names it.
  • The semver bump is computed from a diff of the contract, not chosen by a human.

Requires

Node >= 22.

Documentation

Nine chapters covering tokens, contracts, generation and every diagnostic: https://github.com/DariushStony/girih#readme

License

MIT