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

veynt-cli

v0.1.6

Published

AI-native pre-commit engineering reviewer for Git diffs

Downloads

110

Readme


Requirements

  • Node.js 20 or later
  • A Git repository with staged changes to review
  • One AI provider: OpenAI, Anthropic, Google Gemini, or local Ollama

Install

Install the CLI globally:

npm install -g veynt-cli

Verify the install:

veynt --version

The npm package is veynt-cli. The command on your PATH is veynt.

Quick start

From the root of a Git repository:

cd your-repo

# Configure provider, strictness, and pre-commit hook
veynt init

# Generate repository baseline profiles
veynt analyse --wait

# Commit Veynt config and baseline to the repo
git add .veynt/
git commit -m "Add Veynt baseline"

# Stage work and scan before committing
git add .
veynt scan

After veynt init, every commit runs veynt scan automatically through the pre-commit hook.

How it works

  1. Initialise your repository with veynt init. Veynt stores config under .veynt/ and installs a Git pre-commit hook.
  2. Analyse the codebase with veynt analyse to build baseline profiles for architecture, standards, and repository context.
  3. Scan staged diffs locally with veynt scan, or branch diffs in CI with veynt scan --branch main.
  4. Review findings in the terminal. Commits can be blocked when severity exceeds your configured threshold.

Veynt reviews what you are about to commit, not your entire repository on every run.

Provider setup

Interactive setup

Run veynt init in a terminal. Veynt walks you through provider selection, review strictness, and API key storage.

Non-interactive setup

veynt init --provider openai --strictness balanced -y

Supported providers:

| Provider | Flag | Default model | |----------|------|---------------| | OpenAI | openai | gpt-4o-mini | | Anthropic | anthropic | claude-3-5-haiku-latest | | Google Gemini | gemini | gemini-2.5-flash | | Ollama (local) | ollama | deepseek-v3.2 |

API keys

Local user config (recommended for development):

export OPENAI_API_KEY="your-key"
# or
export ANTHROPIC_API_KEY="your-key"
# or
export GEMINI_API_KEY="your-key"

Keys can also be saved to ~/.veynt/config.yml during interactive veynt init.

CI and automation: set the same environment variables in your pipeline. Environment variables override local user config.

Ollama (local, no cloud API key)

ollama serve
ollama pull deepseek-v3.2

veynt init --provider ollama -y

Optional host override in .veynt/config.yml:

provider:
  name: ollama
  model: deepseek-v3.2
  baseUrl: http://127.0.0.1:11434

You can also set OLLAMA_HOST. For local models, consider raising review.chunking.requestsPerMinute in config. Cloud free tiers default to 5 requests per minute.

Configuration

Veynt separates repository config from personal credentials.

| Scope | Location | Committed to Git | |-------|----------|------------------| | Repository | .veynt/config.yml | Yes | | Baseline profiles | .veynt/*.yml | Yes | | Ignore rules | .veynt/config.yml | Yes | | API keys | ~/.veynt/config.yml | No |

Strictness levels

| Level | Typical use | |-------|-------------| | advisory | Surface findings without blocking commits | | balanced | Default. Block high and critical issues locally | | strict | Tighter local enforcement | | critical | Block only critical findings |

Update strictness at any time:

veynt config set review.strictness strict
veynt config show

Commands

| Command | Description | |---------|-------------| | veynt init | Configure Veynt and install Git pre-commit hooks | | veynt analyse | Generate repository baseline profiles | | veynt analyse --wait | Run analysis in the foreground until complete | | veynt scan | Review staged changes | | veynt scan --branch main | Review branch diff against a target branch (CI mode) | | veynt override | Allow a one-time override for the next commit | | veynt ignore VNT-0001 | Suppress a specific finding | | veynt config show | Show resolved configuration | | veynt config set <key> <value> | Update repository configuration | | veynt hooks reinstall | Repair or reinstall the pre-commit hook |

CI usage

Run Veynt against a branch diff in GitHub Actions or any CI runner:

- name: Install Veynt
  run: npm install -g veynt-cli

- name: Review branch diff
  env:
    OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
  run: veynt scan --branch main

Ensure .veynt/ is committed to the repository so CI uses the same baseline and rules as local development.

Workflow tips

  • Commit .veynt/ after veynt analyse so your team shares the same baseline.
  • Use veynt scan manually when you want feedback before staging everything.
  • Use veynt override --reason "..." sparingly and only with a clear justification.
  • Reinstall hooks after cloning or if the pre-commit hook stops firing: veynt hooks reinstall.

Troubleshooting

veynt: command not found

Confirm the global npm bin directory is on your PATH, then reinstall:

npm install -g veynt-cli

Authentication or provider errors

Check that the correct API key environment variable is set, or rerun veynt init interactively.

Hook not running

veynt hooks reinstall

Analysis still running

veynt analyse --status
veynt analyse --wait

Development

To work on Veynt itself, clone the monorepo:

git clone https://github.com/KazzyAPI/veynt-cli.git
cd veynt-cli
pnpm install
pnpm build
pnpm test

Licence

MIT