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

foss-design

v0.9.16

Published

Design canvases and design systems for coding agents: live, animated, clickable screens on an infinite canvas, served locally from a .design folder.

Readme

foss-design

Design canvases and design systems on your machine: live, animated, clickable screens on an infinite canvas, served locally from a gitignored .design folder. Built for coding agents (Claude Code, Codex and other Agent Skills clients), usable by hand.

npx -y foss-design init            # .design/ + .gitignore entry
npx -y foss-design system init     # starter design system
npx -y foss-design new onboarding  # a canvas with one screen
npx -y foss-design preview         # the local viewer; prints its URL

Or install the design command globally: npm i -g foss-design.

A canvas in the foss-design viewer: four live phone screens of an onboarding flow

The inspector: a button selected on a live screen, with its box model and design tokens

What you get

  • Canvases. .design/canvas/<id>/canvas.json lays out pages → sections → screens, URL frames, notes and images. Screens are React components (.tsx, default export) or HTML pages, each rendered live in its own frame with hot reload: animations, forms and navigation work. Frames use device presets (phone, tablet, desktop…) or any size, and "height": "auto" for long pages.
  • A design system. .design/system/ holds tokens.css (light and dark CSS variables mapped to Tailwind v4 utilities), components importable as @system/components/…, specimens, guidelines and assets. The viewer renders it as a style guide at /system.
  • Batteries. Every screen gets Tailwind v4 with the tokens, React, motion, lucide-react, clsx and tailwind-merge, even in projects without them; the project's own packages and design.json aliases work too. import { go, useTheme, useScreen } from '@design/runtime' links screens into prototypes.
  • Checks for agents. design check --render loads every screen in Chrome and reports errors; design shot writes PNGs an agent can look at.
  • Sharing. design build --tar produces a static site of the canvases and the system for any static host, or foss-design Cloud syncs .design between machines and people: design login, design link, design push, design pull, and design canvases, url, history, rollback, publish, archive to manage canvases there.

Commands

| Command | What it does | | --- | --- | | init [--name] [--no-gitignore] | Create .design and ignore it in git. | | system init [--name] [--empty] | Scaffold .design/system. | | new <canvas> [--title] [--empty] | Scaffold a canvas. | | preview [--open [path]] [--port] [--restart] [--foreground] | Start or reuse the viewer and print its URL. | | stop, status | Stop the viewer; show its state, a project summary and the cloud state. | | check [canvas…] [--render] [--json] | Validate the project; --render also loads every screen in Chrome. | | shot <canvas>[/<screen>] [--page] [--theme] [--out] [--overview] | Screenshot screens or whole pages. | | build [canvas…] [--out] [--tar] | Static site. | | login, logout | Sign this machine in to foss-design Cloud (a link with the code in it). | | link [<project>] [--new <name>] | List cloud projects, or link .design to one. | | push [canvas…] [--resolved <unit>], pull [canvas…] [--theirs <unit>] | Sync with the cloud, with progress; push prints the web link of each pushed canvas; exit 2 on a conflict. |

Requirements: Node.js 20.19+. check --render and shot need an installed Chrome, Chromium, Edge or Brave, or DESIGN_CHROME pointing at one.

Formats, agent skills and plugins: https://github.com/wiolett-industries/foss-design · Cloud: https://fossdesign.dev

MIT © Wiolett Industries