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

@rokkit/cli

v1.3.4

Published

Command line utilities for icon bundling and conversion.

Readme

@rokkit/cli

CLI for Rokkit — SVG icon bundling, Iconify JSON package generation, project initialization, and setup validation.

Install

# Install globally
bun add -g @rokkit/cli

# Or run without installing
bunx @rokkit/cli <command>
npx @rokkit/cli <command>

The binary is available as rokkit.

Commands

rokkit bundle

Scan SVG subfolders and output one Iconify-compatible JSON file per folder.

rokkit bundle -i ./src/icons -o ./lib

Each subfolder under --input becomes a separate JSON bundle in --output. Useful for splitting icon sets by category (ui, solid, auth, etc.).

rokkit build

Build a full Iconify JSON package for each icon subfolder.

rokkit build -i ./src/icons -o ./lib

Similar to bundle but produces the complete Iconify package structure (with prefix, icons, width, height). Use this when publishing icons as a standalone package.

rokkit init

Initialize Rokkit in an existing SvelteKit project.

rokkit init

Interactively sets up uno.config.ts with presetRokkit(), installs required packages, and configures the project for Rokkit.

rokkit doctor

Validate that a Rokkit project is correctly configured.

# Check setup
rokkit doctor

# Check and auto-fix safe issues
rokkit doctor --fix

Checks for correct UnoCSS config, theme imports, and required package presence. --fix applies automatic repairs where safe to do so.

Global Options

| Option | Alias | Description | Default | | ---------- | ----- | --------------------------------------- | ------------- | | --input | -i | Source folder containing SVG subfolders | ./src | | --output | -o | Output folder for generated files | ./lib | | --config | -c | Path to config file (relative to input) | config.json |

Configuration File

Place a config.json inside the input folder to control icon processing:

{
  "package": {
    "namespace": "@my-org",
    "version": "1.0.0",
    "homepage": "https://github.com/my-org/my-icons"
  },
  "ui": {
    "color": false
  },
  "brand": {
    "color": true
  }
}

| Field | Description | | ------------------- | -------------------------------------------------------------------------- | | package.namespace | Iconify collection prefix namespace | | package.version | Published version string | | package.homepage | Repository or homepage URL | | <set>.color | true preserves original colors; false converts fills to currentColor |

Examples

# Bundle icons from src/ into lib/
rokkit bundle -i src -o lib

# Build full Iconify packages with a custom config
rokkit build -i src -o lib -c my-config.json

# Use with bunx (no global install needed)
bunx @rokkit/cli bundle -i ./icons -o ./dist

Icon Folder Layout

src/
  ui/
    menu.svg
    close.svg
  solid/
    check.svg
    x.svg
  auth/
    login.svg

Running rokkit build -i src -o lib produces:

lib/
  ui.json
  solid.json
  auth.json

Part of Rokkit — a Svelte 5 component library and design system.

AI skills

Rokkit ships curated AI skills (SKILL.md guides) that teach coding agents how to use the library well — theming with the named-token system and building UI with the components.

rokkit skills list                       # see the catalog
rokkit skills add semantic-styles-rokkit # install one
rokkit skills add                        # interactive multi-select
rokkit skills add --all                  # install everything
rokkit skills add <name> --force         # overwrite an existing install

Skills install into your project's .claude/skills/<name>/, so they're shared with your team via version control. Browse the source under packages/cli/skills/.