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

@c3x/cli

v11.6.3

Published

Thin CLI client for c3x — architecture documentation tool

Readme

@c3x/cli

Thin npm manager for c3x, the C3 architecture documentation CLI.

The package does not bundle Go binaries, ast-grep, or the ONNX model. For real C3 commands it resolves the project-selected C3 runtime, or the latest GitHub Release when the project has no selection, downloads release assets from GitHub Releases with visible progress, verifies SHA256 checksums, caches them, and execs the cached Go binary. Runtime versions from 11.5.0 onward also download the release-pinned ast-grep binary and pass its path in C3_AST_GREP; older pinned runtimes continue to run without an ast-grep asset.

This is the thin npm distribution only. The platform-neutral skill/plugin artifact carries no binary and delegates through this package, while per-platform C3 skill ZIPs remain fat and bundle a binary so they can run in sandboxed or offline environments without depending on the npm cache. Full fat skill ZIPs include the semantic ONNX runtime; Linux portable fat ZIPs use a pure-Go core binary for broader distro compatibility and run without local semantic ONNX.

Root discovery commands stay local. c3x, c3x --help, and c3x --version do not resolve releases or download runtime assets.

Install

npm install -g @c3x/cli
c3x list

npx @c3x/cli list works the same way.

Runtime Manager

The npm entrypoint owns runtime installation and cache management under the runtime namespace:

c3x runtime versions
c3x runtime installed
c3x runtime install latest
c3x runtime install 11.5.0
c3x runtime use 11.5.0
c3x runtime uninstall 11.5.0
c3x runtime prune

c3x runtime use <version> writes operational project metadata at .c3/runtime.json. That file stores only the selected runtime version; it is not a frozen C3 fact and it never stores a binary URL or executable path.

c3x runtime install <version|latest> prints download and verification progress on stderr. Normal C3 commands also print progress only when they must populate missing runtime assets before execution.

Cache

Assets are cached under:

$XDG_CACHE_HOME/c3x/<version>/
~/.cache/c3x/<version>/

The manager downloads:

  • c3x-<version>-<os>-<arch>
  • ast-grep-<ast-grep-version>-<os>-<arch> for runtimes from 11.5.0 onward
  • c3x-semantic-model-all-MiniLM-L6-v2-<revision>.onnx
  • c3x-semantic-vocab-all-MiniLM-L6-v2-<revision>.txt
  • matching .sha256 files

Old version directories are kept until explicitly removed with c3x runtime uninstall <version> or c3x runtime prune.

Environment

| Variable | Use | | --- | --- | | C3X_VERSION | Override the selected Go binary version. Intended for development and tests. | | C3_AST_GREP | Override the ast-grep executable path. Normally set by the runtime manager. | | XDG_CACHE_HOME | Select the cache root. | | C3X_SKIP_MODEL_DOWNLOAD | Download only the Go binary; the Go CLI can fetch semantic assets later. |

If the first download happens offline, prefill the cache from a connected machine.

License

MIT