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

@varel/cli

v0.2.14

Published

Varel CLI for core initialization and Hyperdrive setup.

Readme

Varel CLI

Public CLI for initializing the private Varel core and installing Varel Hyperdrive for guided setup.

npm install -g @varel/cli
varel login
varel init my-app
cd my-app
varel hyperdrive install

The CLI authenticates the user, checks core and Hyperdrive access, creates a fresh app from the private core, and connects Hyperdrive to supported local agent clients.

After installing Hyperdrive, restart Codex or Cursor, and restart Claude Code or run /reload-plugins. Open the project in that app and ask Hyperdrive to prepare provider sign-in, MFA, and email verification before setup work. Hyperdrive will then guide scoped provider setup, domain work, launch checks, and production readiness from inside the project.

Commands

varel login                    # Authenticate this machine with Varel
varel logout                   # Remove local CLI auth
varel whoami                   # Show account and entitlement status
varel doctor                   # Inspect auth, project, and Hyperdrive config
varel init [targetDir]         # Create a fresh app from the private core
varel hyperdrive install   # Connect Hyperdrive to Codex, Cursor, and Claude Code
varel hyperdrive status    # Show Hyperdrive subscription and connection status

Configuration is stored at ~/.varel/config.json. The default production API is https://www.varel.dev; override it with VAREL_API_URL or --api-url when dogfooding against a local internal app.

Hyperdrive defaults to https://hyperdrive.varel.dev/mcp; override it with VAREL_HYPERDRIVE_MCP_URL or --hyperdrive-url when support asks you to test another endpoint. varel hyperdrive install writes authenticated user-local Codex and Cursor MCP configuration, installs or refreshes the Claude Code ~/.claude/skills/varel-hyperdrive plugin with a dynamic headersHelper, and removes stale project Codex overrides that could shadow user-local auth. The Claude Code plugin does not store a static token in Claude config; it asks the local Varel CLI for the current token when Claude connects. If Claude Code cannot be configured automatically, the command writes a token-safe repair script at ~/.varel/install-hyperdrive-claude-code.sh. varel hyperdrive status checks that your account and Hyperdrive connection are ready.

varel init checks your Varel entitlement first, then tries to clone the private core over SSH and falls back to HTTPS. After the core files are copied, it removes the template repository metadata and initializes a fresh local Git repository without a remote. Add your own remote with git remote add origin <your-repo-url>, or pass --disable-git to leave the new app uninitialized. If GitHub access fails after entitlement approval, connect the Polar GitHub repository access benefit in the Varel customer portal, verify access to varelhq/varel-core, and rerun varel init. Support can provide --repo-url or VAREL_CORE_REPO_URL for temporary clone overrides.

The interactive init wizard defaults to Launch-ready with local/development and production selected. Preview is optional because some provider preview environments require extra setup or paid tiers. For scripted init, use --environments local,prod or add preview explicitly with --environments local,preview,prod.

Development

pnpm install
pnpm check
pnpm dev -- --help

Local Dogfooding

Run the internal app first:

cd ~/projects/varel-workspace/internal
pnpm dev

Then log in from the CLI repo:

cd ~/projects/varel-workspace/cli
pnpm dev login

When invoked through the dev script, the CLI uses http://localhost:3000 as the Varel API URL. A built CLI uses production defaults.

For offline CLI UI work:

VAREL_CLI_OFFLINE=1 pnpm dev -- whoami

Publishing

Before publishing:

pnpm check
npm pack --dry-run

The package publishes only dist and this README. prepack runs a clean TypeScript build so stale local artifacts are not included.