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

divebar

v0.1.0

Published

Round-trip your design system between Figma and code.

Readme

Divebar

Round-trip your design system between Figma and code.

Divebar gives every component one spec your team owns. Figma and code both follow it. Edit either side, and the other catches up.

Works with Cursor, Claude Code, and any agent that can call the Figma MCP.

Setup

Open in Cursor

To set up manually, open your terminal or agent and type:

npx divebar init

To install globally, use:

npm i -g divebar

Requires Node.js 18+ and Figma desktop with MCP enabled (editor seat).

Features

  • Round-trip sync. Pull from Figma into code, push from code back to Figma.
  • One spec per component. Variants, slots, styles, and the link to Figma all live in a single file you can read and review.
  • Drift detection. A lockfile tracks the last good state, so you find out before something silently overwrites your work.
  • Bootstrap from existing code. Point Divebar at a component you already shipped and it scaffolds the spec for you.
  • Lint built in. Catch missing styles, unknown tokens, and uncovered variant combinations before they ship.
  • Tokens with light and dark mode. One shared token file, aliases supported, multi-mode out of the box.
  • Monorepo aware. Each package can have its own framework and tokens.
  • Agent friendly. Works with Cursor and Claude Code via MCP. Run npx divebar init to wire it up.

Commands

Setup

| Command | What it does | | ------------------------ | ---------------------------------------------- | | init | Walk through Figma MCP config for this project | | registry add | Register a component | | registry list | List registered components | | registry remove <name> | Unregister a component |

Components

| Command | What it does | | ------------------ | ------------------------------------------- | | bootstrap <code> | Scaffold a spec from existing code | | pull <url> | Pull a component spec from a Figma URL | | push <code> | Emit a Figma script that updates the design | | generate <spec> | Render code from a spec | | inspect <code> | Show the spec for a component | | sync <name> | Reconcile Figma, code, and the lockfile | | parse <spec> | Validate a spec |

Tokens

| Command | What it does | | ---------------------- | ------------------------------------------------------------- | | tokens pull <tokens> | Import a token JSON file into the spec | | tokens push | Emit a Figma script that updates token variables | | tokens import | Import tokens from Figma Variables, DTCG, or Style Dictionary |

Quality

| Command | What it does | | ------------- | --------------------------------------------------------- | | lint <name> | Find missing styles and unknown tokens | | audit | Run audit rules against Figma and code | | mirror sync | Snapshot every published component to disk | | mirror diff | Compare a previous mirror against the current Figma state |

Every command takes --workspace <path> for monorepos. Every Figma-touching command takes --fixture <path> for offline runs.

Supported frameworks

| Framework | Styling | | ------------ | ----------------- | | React | styled-components | | React Native | StyleSheet |

Open an issue if you want to see a specific framework or styling combination supported.

License

MIT