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

@riducms/cli

v0.2.3

Published

Cross-platform npm launcher for Ridu's native Go CLI.

Readme

@riducms/cli

This package runs the native Go CLI for the matching Ridu release:

npx @riducms/cli new my-content
bunx @riducms/cli new my-content
pnpm dlx @riducms/cli new my-content
yarn dlx @riducms/cli new my-content

For the conventional project-creation entry point, use npm create ridu@latest my-app. The create-ridu initializer delegates to this package with the new command; this package remains the launcher for ridu version, dev, generate, migrations, and every other CLI command.

The launcher downloads and caches the matching native command for macOS, Linux, or Windows. It forwards arguments, signals, and exit status to that command.

New scaffolds pin this package at the exact coordinated version. From a generated project, use:

npm install
npm run dev

Use the generated check script in CI to verify committed contracts and the rest of the project:

npm run check

The scaffold records npm, Bun, pnpm, or Yarn in ridu.toml, and the native CLI uses it for frontend installs and admin/plugin commands. The package-local command avoids global version drift while still using the ordinary npm registry.

Go users can install the same command directly. Match the version to the project’s @riducms/cli:

go install github.com/riducms/ridu/cmd/[email protected]

Set RIDU_BINARY to an already-installed binary path when downloads are managed centrally.

First download

On a cache miss, the launcher immediately announces the release and platform on stderr. A terminal gets one animated line with elapsed time and received bytes; a percentage appears only when the server supplies a usable total. Verification and installation have their own status messages. Cached binaries and RIDU_BINARY skip this output, and the native command retains stdout.

Piped output, CI, TERM=dumb, NO_COLOR, and RIDU_ACCESSIBLE=1 use plain lines at startup, every five seconds while waiting, and at stage changes. Each request times out after 30 seconds without a response or further data, including while waiting for checksums. For slow connections, set RIDU_CLI_DOWNLOAD_TIMEOUT_MS to a larger positive millisecond value. Failed downloads are not cached; retry after checking connectivity and access to the release URL printed in the error.

The package runner downloads create-ridu and @riducms/cli before this code can execute, so its registry/bootstrap output is controlled by npm, Bun, pnpm, or Yarn. Once downloaded, the native command owns the wizard and template setup, announces Go dependency resolution and inherits its output. Frontend installation is a separate next step printed by ridu new.

Preview the download locally

From the repository root on macOS or Linux:

bun run --cwd packages/cli preview:download
bun run --cwd packages/cli preview:download --unknown-size
bun run --cwd packages/cli preview:download --timeout
bun run --cwd packages/cli preview:download --non-tty

The preview takes about ten seconds, using the actual launcher against a delayed loopback HTTP server and a disposable cache. It uses no internet connection, never executes the fixture binary, creates no project, and removes its cache afterward. The timeout scenario intentionally exits unsuccessfully. Flags can be combined to inspect errors or unknown sizes in plain output.