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

kaudit

v0.1.2

Published

AI-powered code audit CLI — audit your PRs with kaudit

Readme

 ██╗  ██╗ █████╗ ██╗   ██╗██████╗ ██╗████████╗
 ██║ ██╔╝██╔══██╗██║   ██║██╔══██╗██║╚══██╔══╝
 █████╔╝ ███████║██║   ██║██║  ██║██║   ██║
 ██╔═██╗ ██╔══██║██║   ██║██║  ██║██║   ██║
 ██║  ██╗██║  ██║╚██████╔╝██████╔╝██║   ██║
 ╚═╝  ╚═╝╚═╝  ╚═╝ ╚═════╝ ╚═════╝ ╚═╝   ╚═╝

AI-powered code audit CLI

Analiza el diff de tu rama, detecta problemas de seguridad y crea un Pull Request con el reporte. Todo desde tu terminal.

kaudit.dev

npm version Node.js >=18 License: BSL-1.1


Quick start

# Install globally
npm install -g kaudit

# Authenticate with your API key
kaudit login kaudit_xxxxxxxxxxxxxxxxxxxx

# Run an audit on your current branch
kaudit

Get your API key at kaudit.dev.

What it does

  Your branch         kaudit                         GitHub
  ──────────    ─────────────────────────────    ──────────────
  git diff   ─►  Analyze diff with AI
             ─►  Detect vulnerabilities
             ─►  Generate PR report
             ─►  Push branch                 ─►  Create PR
  1. Analyze — Sends your branch diff (or staged changes) to the AI engine
  2. Validate — Detects security vulnerabilities ranked by severity
  3. Generate — Creates PR title, summary, checklist and suggestions
  4. Ship — Pushes your branch and creates the Pull Request

Commands

| Command | Description | | :--- | :--- | | kaudit | Audit the current branch diff and create a PR | | kaudit login <api-key> | Authenticate with your API key | | kaudit logout | Clear stored credentials |

Options

| Flag | Description | Default | | :--- | :--- | :--- | | --base <branch> | Base branch to compare against | main | | --staged | Audit staged changes (git add) instead of commits | false | | --fast | Skip docstrings and test generation | false | | --no-push | Don't push branch after audit | false | | --repo <url> | Repository URL (if no git remote) | auto-detect | | --url <url> | API server URL | https://kaudit.dev | | --timeout <ms> | Max polling timeout | 600000 (10 min) | | --no-color | Disable colored output | false |

Examples

# Audit commits vs main (default)
kaudit

# Audit only staged changes
kaudit --staged

# Fast mode without tests or docstrings
kaudit --fast

# Audit against develop branch
kaudit --base develop

# Audit only, no push or PR
kaudit --no-push

# Point to a local server (development)
kaudit --url http://localhost:3000

CI/CD

Use environment variables instead of kaudit login in pipelines:

export KAUDIT_API_KEY=your-api-key
kaudit --no-push
- name: Audit with kaudit
  env:
    KAUDIT_API_KEY: ${{ secrets.KAUDIT_API_KEY }}
  run: npx kaudit --no-push --base main

Environment variables

| Variable | Description | | :--- | :--- | | KAUDIT_API_KEY | API key (alternative to kaudit login) | | KAUDIT_URL | Server URL (overrides --url) | | NO_COLOR | Disable colored output |

Configuration

Credentials are stored in ~/.kaudit/config.json.

{
  "apiKey": "kaudit_xxxxxxxxxxxxxxxxxxxx",
  "userId": "user_xxx",
  "serverUrl": "https://kaudit.dev"
}

Development

pnpm install
pnpm run build     # production build
pnpm run dev       # watch mode

Built with tsup as ESM bundle for Node.js 18+.

License

BSL-1.1