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

@yuvrajangadsingh/vibecheck

v1.1.0

Published

ESLint for AI slop. Detect AI-generated code smells in your JS/TS codebase.

Readme

vibecheck

ESLint for AI slop. Catch AI-generated code smells before they hit production.

npx @yuvrajangadsingh/vibecheck .
  src/api/routes.ts
    12:5    error  no-hardcoded-secrets   Hardcoded secret detected. Use environment variables instead.
    45:3    error  no-empty-catch         Empty catch block swallows errors silently.
    89:1    warn   no-console-pollution   console.log left in production code.

  src/utils/db.ts
    34:5    error  no-sql-concat          SQL query built with string concatenation.

  4 problems (3 errors, 1 warning)
  2 files with issues out of 47 scanned (0.8s)

Why

AI coding tools generate code that works but cuts corners. Empty catch blocks, hardcoded secrets, as any everywhere, comments that restate the obvious. CodeRabbit found AI-generated PRs have 1.7x more issues than human PRs. Veracode reports 45% of AI code samples contain security vulnerabilities.

vibecheck catches these patterns with zero config, zero API keys, zero cost. Runs locally, stays fast.

Install

# Run directly (no install)
npx @yuvrajangadsingh/vibecheck .

# Install globally
npm install -g @yuvrajangadsingh/vibecheck

# Scan a specific directory
npx @yuvrajangadsingh/vibecheck src/

# Scan a single file
npx @yuvrajangadsingh/vibecheck src/api.ts

What it catches

Security

| Rule | Severity | What it detects | |------|----------|----------------| | no-hardcoded-secrets | error | API keys, tokens, passwords in source code | | no-eval | error | eval() and new Function() calls | | no-sql-concat | error | SQL queries built with string concatenation | | no-innerhtml | warn | innerHTML and dangerouslySetInnerHTML usage |

Error Handling

| Rule | Severity | What it detects | |------|----------|----------------| | no-empty-catch | error | Empty catch blocks that silently swallow errors | | no-console-error-only | warn | Catch blocks that only console.error without rethrowing | | no-swallowed-promise | warn | .then() chains without .catch() |

Code Quality

| Rule | Severity | What it detects | |------|----------|----------------| | no-console-pollution | warn | console.log/debug/info left in production code | | no-ai-todo | info | AI-generated placeholder TODOs (TODO: implement, FIXME: add) | | no-god-function | warn | Functions over 80 lines |

AI-Specific Tells

| Rule | Severity | What it detects | |------|----------|----------------| | no-obvious-comments | info | Comments that restate code (// initialize the counter) | | no-ts-any | warn | TypeScript any types and as any casts |

Framework

| Rule | Severity | What it detects | |------|----------|----------------| | no-express-unhandled | warn | Async Express routes without error handling | | no-error-info-leak | error | Error internals (err.message, err.stack) leaked to HTTP responses |

Options

vibecheck [path] [options]

Options:
  -c, --config <file>     Path to config file
  --json                  Output as JSON (for CI pipelines)
  --ignore <patterns...>  Additional ignore patterns
  --severity <level>      Minimum severity: error, warn, info (default: warn)
  -q, --quiet             Only show summary
  -v, --version           Show version
  -h, --help              Show help

Config

Create .vibecheckrc in your project root:

{
  "rules": {
    "no-console-pollution": "off",
    "no-obvious-comments": "warn",
    "no-ts-any": "error"
  },
  "ignore": [
    "node_modules",
    "dist",
    "*.test.ts"
  ]
}

All rules are on by default at their recommended severity. Set any rule to "off" to disable it.

CI Usage

# GitHub Actions
- name: Vibecheck
  run: npx @yuvrajangadsingh/vibecheck . --json > vibecheck.json

# Exit code 1 if errors found, 0 otherwise
- name: Vibecheck (fail on errors)
  run: npx @yuvrajangadsingh/vibecheck .

How it works

vibecheck uses regex pattern matching to scan your JS/TS files. No AST parsing, no external APIs, no AI. Each rule has a detection pattern and an anti-pattern to reduce false positives.

It skips node_modules, dist, build, lockfiles, and minified code by default.

License

MIT