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

@czap/cli

v0.1.3

Published

czap CLI — AI-first JSON I/O with human-pretty TTY mode

Readme

@czap/cli

The czap CLI ships with LiteShip — JSON-first machine interface for the CZAP engine, human-friendly TTY mode. Naming: ../../docs/GLOSSARY.md.

Install

pnpm add -D @czap/cli

Verbs

Every command emits a JSON receipt to stdout. Pretty TTY summaries (when stderr is a terminal) go to stderr only — receipts on stdout stay machine-clean so they pipe cleanly into jq, MCP, or CI annotators. Exception: czap completion <shell> writes a raw shell-completion script to stdout (no JSON wrapper) so eval "$(czap completion bash)" and friends work directly.

Cast off (dev experience)

| Verb | What it does | | --- | --- | | czap doctor [--fix] [--ci] | Preflight rig check. Probes Node, pnpm, workspace install, built dist/, git hooks, git config, Playwright, WASM toolchain (if crates/ present). --fix auto-remediates cheap cases; --ci escalates warnings to exit 1. | | czap help | The chart — every verb grouped by phase. | | czap glossary [term] | Ontology lookup. Mirrors docs/GLOSSARY.md so AI agents can resolve register without leaving the shell. | | czap completion <bash\|zsh\|fish> | Emit a tab-completion script. eval "$(czap completion bash)" to load. | | czap version | Print the @czap/cli version. |

Describe + MCP (machine interface)

| Verb | What it does | | --- | --- | | czap describe [--format=json\|mcp] | Self-describe the CLI surface (verbs, capsule factories, schema). | | czap mcp | Start the MCP server (dynamically imports @czap/mcp-server). |

Compose + render (scene + asset)

| Verb | What it does | | --- | --- | | czap scene compile <path> | Compile a scene definition. | | czap scene dev <path> | Watch + recompile. | | czap scene render <path> [-o out] | Render scene to disk. | | czap scene verify <path> | Verify a scene definition. | | czap asset analyze <path> | Analyze an asset capsule. | | czap asset verify <path> | Verify an asset capsule. |

Manifest (capsule)

| Verb | What it does | | --- | --- | | czap capsule list | List capsule factories. | | czap capsule inspect <id> | Inspect a capsule's schema + dispatch. | | czap capsule verify <path> | Verify a capsule definition. |

Ship out (quay-side, release)

| Verb | What it does | | --- | --- | | czap gauntlet | Run the release-grade gate (32 phases). | | czap ship <pkg> | Publish a package to npm (idempotent). czap ship ties packages up at the quay; czap verify checks the receipt before they sail. | | czap verify | Post-ship verification (ADR-0011 four-verdict local verifier). |

The mcp subcommand dynamically imports @czap/mcp-server. Install @czap/mcp-server alongside @czap/cli when you need MCP mode, and keep both on the same semver line.

See docs/GETTING-STARTED.md.