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

@vera-ai/cli

v1.4.1

Published

Bootstrap installer and wrapper for the Vera CLI

Readme

@vera-ai/cli

Code search for AI agents. Vera indexes your codebase using tree-sitter parsing and hybrid search (BM25 + vector similarity + optional cross-encoder reranking), then returns ranked code snippets as Markdown codeblocks by default, or JSON with --json.

This package downloads and wraps the native Vera binary for your platform. On musl-based Linux (Alpine, NixOS), the correct static binary is selected automatically. Set VERA_TARGET to override target detection (e.g., VERA_TARGET=x86_64-unknown-linux-musl npm install -g @vera-ai/cli).

The default local embedding model is minishlab/potion-code-16M-v2; it runs locally on CPU on any supported machine, no GPU or ONNX Runtime needed. In the current Semble comparison, Vera v1.4.0 scored 0.8437 nDCG@10 versus Semble 0.5.5 at 0.8514 on Semble's own tuning corpus, and leads on the independent contamination set (0.7674 vs 0.7655) and on recall@5; Vera's index is 6.8x smaller (4.7 GB vs 32 GB). For the highest measured search quality, use the Qwen preset through OpenRouter. Full details live in the main repo docs.

Install

npm install -g @vera-ai/cli

Quick Start

vera setup --potion-code --index .
vera search "authentication logic"

vera setup with no flags runs an interactive wizard and offers to index the current project, defaulting to yes. An interactive search also offers to create a missing index. vera setup --api prompts for an OpenAI-compatible endpoint and key; the wizard offers presets for OpenAI, Jina, Voyage, and Qwen via OpenRouter, with the Qwen preset needing only one shared key (qwen/qwen3-embedding-8b + qwen/qwen3-reranker-8b via https://openrouter.ai/api/v1). Use --yes with EMBEDDING_MODEL_* variables for non-interactive setup.

The preferred agent integration is the CLI plus the Vera skill: vera agent install installs it for supported coding agents and can add a short usage snippet to your project's AGENTS.md, CLAUDE.md, COPILOT.md, or editor rules file. Vera also ships an optional MCP server (vera mcp); see the MCP guide if your client is MCP-first.

Common Tasks

| Task | Command | |------|---------| | Use the interactive setup wizard | vera setup | | Use the default local model | vera setup --potion-code | | Configure API mode | vera setup --api | | Use a local NVIDIA backend | vera setup --onnx-jina-cuda | | Search semantically | vera search "authentication middleware" | | Search only changed files | vera search "authentication middleware" --changed | | Common structural tasks | vera structural routes / vera structural env DATABASE_URL / vera structural impls Loader | | Find callers or callees | vera references foo / vera references foo --callees | | Explain why a file is missing | vera explain-path path/to/file | | Inspect index health | vera stats --json | | Keep the index up to date | vera update . | | Watch for file changes | vera watch . | | Run local HTTP inference server | vera serve | | Diagnose setup issues | vera doctor | | Run the deeper local probe | vera doctor --probe | | Repair missing local assets | vera repair | | Inspect binary upgrades | vera upgrade | | Install agent skills | vera agent install |

For the full backend matrix, model options, Docker setup, and troubleshooting, see the main README and Installation Guide.

What you get

  • 65 languages (61 with tree-sitter AST parsing)
  • Hybrid search: BM25 keyword + vector similarity, fused with Reciprocal Rank Fusion
  • Opt-in cross-encoder reranking for precision, disabled by default
  • Git-aware scopes and index debugging: --changed / --since / --base, explain-path, and index health in vera stats
  • Markdown codeblock output by default with file paths, line ranges, and optional symbol info (use --json for compact JSON; --raw works with vera search, vera grep, and vera references; --timing works with vera search and vera grep, before or after the subcommand)

For full documentation, including local model options and manual install steps, see the GitHub repo.