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

@otfdashkit/cli

v0.1.0

Published

CLI to add OTF UI components into your project. Heavy-peer components (Skia, Lottie, MMKV, etc.) ship as source — use `npx @otfdashkit/cli add <name>` to install.

Downloads

66

Readme

@otfdashkit/cli

Add OTF UI Native components to your Expo / React Native project.

For lightweight components (Button, Card, Tabs, etc.) — install the npm package:

npm install @otfdashkit/ui-native

For heavy-peer components (Skia shaders, Lottie, MMKV, Notifee, etc.), the npm route forces every consumer to install peers they may not need. Use this CLI instead — it copies the source into your project so you only pay for what you use.

Quick start

# 1. Initialize once per project
npx @otfdashkit/cli init

# 2. Add a component
npx @otfdashkit/cli add shockwave

# 3. Install the peer deps it prints
npm install @shopify/[email protected] react-native-reanimated@~4.1.0 [email protected]

That's it. The component source lives in your project (default: src/components/<category>/<name>/). You own the code — edit it freely.

Commands

| Command | Description | |---|---| | init | Create component.config.json (asks for outDir) | | list | List available components, optionally filter by --category | | add <name> | Copy <name> into your project, prompt to install peers | | add (no name) | Interactive autocomplete picker |

add flags

| Flag | Description | |---|---| | -o, --overwrite | Replace existing files without confirmation | | -d, --dir <dir> | Override component.config.json outDir | | -y, --yes | Skip all confirmation prompts |

Configuration

component.config.json (created by init):

{
  "outDir": "src/components",
  "registryUrl": "https://r.otf-kit.dev"  // optional override
}

Or set the registry via env: OTF_REGISTRY_URL=https://staging.r.otf-kit.dev.

What's in the registry?

Source: packages/ui-native/registry/registry.json — auto-deployed to https://r.otf-kit.dev/registry.json on every push to main.

| Component | Category | Platform | |---|---|---| | shockwave | patterns | native-only |

(One component shipped at v0.1.0 — more on the way.)

Why a registry-based CLI?

Same model as shadcn/ui and reacticx (the original Shockwave author). Heavy native peers don't bundle through npm cleanly — peerDependenciesMeta.optional is honored at install time but not at bundle time, so every consumer would pay for every peer. Source-distribution sidesteps that entirely. Full rationale: docs/sdk-design.md.

License

MIT