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

@geoql/vue-doctor

v1.1.2

Published

CLI auditor for Vue 3 apps. Detects anti-patterns, AI-slop, and best-practice violations via @vue/compiler-sfc + oxlint. Run with `npx -y @geoql/vue-doctor`.

Readme

@geoql/vue-doctor

Your agent writes bad Vue. This catches it.

CLI auditor for Vue 3 apps. It runs a hybrid scan: a template-AST pass over @vue/compiler-sfc plus a script pass through oxlint (its native vue plugin and the doctor JS rules), then merges the findings into a deterministic 0–100 score. Built for catching anti-patterns, AI-slop, and best-practice violations, especially the ones coding agents leave behind.

Install

# one-off, no install
npx -y @geoql/vue-doctor

# or add it
npm i @geoql/vue-doctor

Published on npm and JSR at v0.1.0 with provenance.

Usage

vue-doctor [path] [options]

path defaults to the current directory. The default output format is agent (compact, built for LLM consumption), not a verbose human report.

# Audit ./src and print the agent report
vue-doctor ./src

# Human-readable output, fail the build on warnings
vue-doctor --format pretty --fail-on warn

# Machine-readable, only files changed vs HEAD, write to a file
vue-doctor --json --diff --output report.json

# Just the score, for piping into a gate
vue-doctor --score

Options

| Flag | Description | | ------------------------------ | ------------------------------------------------------------------------------------------------------------------------- | | --format <kind> | Output format: agent (default), pretty, json, json-compact, sarif, html. | | --json | Shorthand for --format json. | | --json-compact | Single-line JSON. | | --config <path> | Path to doctor.config.ts. | | --preset <name> | Base preset: minimal, recommended, strict, all. | | --fail-on <level> | Exit non-zero at this severity or worse: error (default), warn, none. | | --quiet | Only show the summary. | | --verbose | Emit per-pass timing and rule diagnostics to stderr. | | --no-color | Disable colored output. | | --rule <id:level> | Override one rule, repeatable. Levels: error, warn, info, off. e.g. --rule vue-doctor/no-em-dash-in-string:off. | | --include <glob> | Glob of files to include, repeatable. | | --exclude <glob> | Glob of files to exclude, repeatable. | | --no-dead-code | Skip the dead-code (knip) analysis pass. | | --no-lint | Skip the lint passes (template / SFC / oxlint). | | --no-respect-inline-disables | Surface findings even inside doctor-disable comments. | | --threshold <n> | Minimum passing score, integer 0100. | | --score | Print only the numeric score, for piping. | | --push | After the audit, POST privacy-stripped findings to the SaaS. Requires --api-key. Negatable with --no-push. | | --no-push | Skip the SaaS push (default). | | --push-url <url> | SaaS endpoint for --push (default: https://app.the-doctor.report/api/v1/findings). | | --api-key <key> | API key for the SaaS, sent as the x-api-key header. | | --annotations | Emit GitHub Actions ::error:: / ::warning:: lines. | | --ci | Auto-enable CI behavior (annotations on GitHub Actions). | | --no-ci | Disable CI auto-detection even when a CI env is set. | | --diff | Only report findings in files changed vs HEAD. | | --staged | Only report findings in staged files. | | --full | Force a complete scan, overriding --diff / --staged. | | --output <file> | Write the report to a file instead of stdout. |

Severity is error | warn | info everywhere. --diff/--staged, --verbose/--quiet, and --score/--json are mutually exclusive.

Subcommands

| Command | Description | | ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | list-rules | List every registered rule with id, severity, category, source, and preset membership. Filters: --preset <recommended\|all>, --category <name>, --source <doctor\|oxlint-builtin\|eslint-plugin-vue>, --severity <error\|warn\|info>, --json, --json-compact. | | explain <ruleId> | Print a rule's severity, category, recommendation, and help URL. --json for structured output. | | inspect [dir] | Print the detected project capabilities doctor uses to gate rules. --json / --json-compact. |

vue-doctor list-rules --category ai-slop
vue-doctor explain vue-doctor/no-em-dash-in-string
vue-doctor inspect --json

Exit codes

| Code | Meaning | | ---- | ----------------------------------------------------------------------------------------- | | 0 | Clean, or score at/above --threshold and no findings at/above --fail-on. | | 1 | Findings at/above the --fail-on level (default: error), or score below --threshold. | | 2 | Configuration error or scan failure. |

Rules

vue-doctor ships ~24 Vue rules plus oxlint's native vue built-ins, grouped by category: ai-slop, reactivity, composition, performance, template, template-perf, build-quality, deps, sfc, and dead-code. Run vue-doctor list-rules for the live list. Most are on in the recommended preset.

Scope

Vue 3 only. For Nuxt 4 projects, use @geoql/nuxt-doctor, which layers Nuxt rules on top of this set.

Architecture

See docs/SPEC.md §10.

License

MIT © Vinayak Kulkarni