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/nuxt-doctor

v1.1.2

Published

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

Downloads

1,327

Readme

@geoql/nuxt-doctor

Your agent writes bad Nuxt. This catches it.

CLI auditor for Nuxt 4 apps. It runs the same hybrid scan as @geoql/vue-doctor — a template-AST pass over @vue/compiler-sfc plus a script pass through oxlint — and layers Nuxt-specific checks (hydration, server routes, Nitro, SEO, Cloudflare, data-fetching) on top, then merges everything into a deterministic 0–100 score. Built for catching the SSR and auto-import mistakes coding agents leave behind.

Install

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

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

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

Usage

nuxt-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 the project and print the agent report
nuxt-doctor

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

# Machine-readable, only staged files, write to a file
nuxt-doctor --json --staged --output report.json

# Just the score, for piping into a gate
nuxt-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 nuxt-doctor/seo/lang-on-html: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. |

nuxt-doctor list-rules --category hydration
nuxt-doctor explain nuxt-doctor/nitro/compatibilityDate-set
nuxt-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

nuxt-doctor ships ~26 Nuxt rules on top of the full Vue rule set, 59 rules in the registry total. Nuxt categories: structure, nitro, seo, cloudflare, server-routes, hydration, data-fetching, modules-deps, and Nuxt ai-slop; the inherited Vue categories are ai-slop, reactivity, composition, performance, template, template-perf, build-quality, deps, sfc, and dead-code. Run nuxt-doctor list-rules for the live list. Most are on in the recommended preset.

Scope

Nuxt 4 only: the app/ directory layout with compatibilityVersion: 4. For a plain Vue 3 project, use @geoql/vue-doctor.

Architecture

See docs/SPEC.md §10.

License

MIT © Vinayak Kulkarni