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

@beastjs/cli

v0.3.3

Published

Copy Beast UI source components into a Beast + Octane project

Readme

@beastjs/cli

Copy Beast UI components into a Beast + Octane project. Components are not a runtime dependency: the CLI writes their source into your app, where you own and edit it.

Requires Node 22.22.2 or newer.

npx @beastjs/cli init
npx @beastjs/cli list
npx @beastjs/cli add button --dry-run
npx @beastjs/cli add button

init writes beast-ui.json to an existing project, using the hosted registry at https://beast-ui-registry.beastjs.workers.dev/r unless you pass --registry. Without that file, add offers to create it first; pass --yes to skip the question, as CI and scripts must.

add resolves registry dependencies and shows every file and npm dependency before it changes anything. A file that already contains the code being added (ignoring quotes, semicolons, and whitespace) is kept as it is, and the install continues. A file with different code stops the command unless you pass --overwrite.

| Command or option | Behavior | | --- | --- | | init | Create beast-ui.json for the hosted registry. | | init --registry <url> | Use another registry; the URL points at the directory holding the registry JSON. | | list | Show the items in the configured registry. | | add <items...> | Copy items and their registry dependencies, then install their npm dependencies. | | -c, --cwd <path> | Target project directory; defaults to the current directory. | | -r, --registry <url> | Override the configured registry for one list or add. Without a config, list uses the hosted registry. | | add -y, --yes | Create beast-ui.json without asking when it is missing. | | add --dry-run | Show the planned changes without writing or installing. | | add --overwrite | Replace existing files that differ from the registry. | | add --skip-install | Copy source only and print the npm dependencies to install. |

See the project README for project requirements and configuration.

Icons

bunx @beastjs/cli icons init --dry-run
bunx @beastjs/cli icons init
bunx @beastjs/cli icons init --framework react

Requires Bun and an existing project. Creates four starter SVGs, a typed icon map, the selected framework's Icon component, and scripts/build-icons.ts. Installs SVGO as a dev dependency, adds icons:build and icons:check, and runs the first build. No beast-ui.json is needed. Use --cwd <path> for another project. Existing files and script commands are preserved; conflicts stop the setup before any changes. --dry-run shows the complete setup and conflicts.

Import { Icon } from @/lib/icons (requires the project's @/* alias to src/*). Save new SVGs in src/lib/icons/svg/, run bun run icons:build, and commit the SVGs with icons.ts. Put colored art in svg/color/. Use bun run icons:check in CI. The React template uses useId and includes 'use client' for Next.js compatibility.

Table

bunx @beastjs/[email protected] table init
bunx @beastjs/[email protected] table init --dry-run
# Equivalent shortcut, installed separately from registry components:
bunx @beastjs/[email protected] add table

Requires an existing Beast + Octane project and Tailwind CSS v4. Copies the standalone spreadsheet viewer, table controls, local parser, 30 typed icons, and its namespaced palette into src/components/table. Imports the styles into the Tailwind entry and installs compatible adapters without replacing Octane. No aliases, shared UI, or beast-ui.json are needed. Different existing files stop setup before installation or writes; unchanged files are kept.

Render from src/App.btsx:

import Table from './components/table/table.btsx'

Table

Use --cwd for another project, --path to choose a source directory, --css to select the Tailwind entry, --package-manager to override lockfile detection, or --skip-install to defer npm dependencies. Octane 0.2.x, 0.3.x, 0.4.x, and 0.8.x have pinned adapter profiles. See the table guide for file formats, URL behavior, limits, and maintenance.