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

vite-plus-inspector

v0.1.1

Published

Visualize your vite-plus configuration

Readme

vite-plus-inspector

Visualize your vite-plus configuration in the browser — a config inspector for the vite.config.ts that drives vp check, vp pack, vp test, and friends.

It loads your config (TypeScript, extends, spreads and all) and renders every augmented section — fmt, lint, staged, pack, test, run, create — with a focus on oxlint: presets are flattened, severities are resolved, and you can type a file path to see exactly which rules apply to it.

Usage

Run it in any project that has a vite.config.ts:

npx vite-plus-inspector          # current directory
npx vite-plus-inspector ./app    # a specific project

Or install the vp-inspect binary globally:

pnpm add -g vite-plus-inspector
vp-inspect

Export a standalone, shareable HTML snapshot — no server needed, file resolution runs client-side:

npx vite-plus-inspector --output inspector.html

Options:

| Flag | Description | Default | | --------------------- | -------------------------------------------- | ----------------- | | [root] | Directory containing vite.config.ts | current directory | | -p, --port <port> | Port for the server (or PORT env) | 5177 | | -o, --output <file> | Write a standalone static HTML file and exit | (runs a server) | | --no-open | Don't open the browser automatically | opens | | --no-watch | Don't reload when vite.config.ts changes | watches |

What it shows

  • Overview — which sections are configured at a glance.
  • lint (oxlint) — the star of the show:
    • Every registered rule, not just the ones you named. The full oxlint catalog (800+ rules) is pulled from vp lint --rules, and each rule shows its effective severity, category, whether it's auto-fixable or type-aware, and a link to its oxc.rs docs.
    • Effective severities are resolved, not just declared: the extends chain is flattened recursively (e.g. nextjs → react → typescript → base), category baselines and individual rules merge last-wins, and each rule is attributed to its source (base, typescript, config, category: …).
    • Filters by state (error/warn/off), plugin, category, plus quick views like explicitly configured and default-on but disabled.
    • Resolve for a file path — type apps/main/foo.test.tsx and see the rules that actually apply, with matching overrides layered in.
  • fmt / staged / pack / test / run / create — options, ignore patterns, overrides, entry points, tasks and more.
  • Live reload — edits to vite.config.ts refresh the inspector automatically (disable with --no-watch).

The config is loaded with jiti, so it never runs your build — it only reads the resolved configuration object. The rule catalog needs vp on your PATH; without it, the inspector still shows declared rules.

Develop

pnpm install
pnpm check     # fmt + lint + typecheck
pnpm test
pnpm build     # vp pack -> dist/

Release

Versioned and published with pnpm's built-in release management, driven in CI by k35o/pnpm-release-action.

pnpm change   # describe the change (writes a changesets-format intent to .changeset/)

Merging to main lets the release workflow open a release PR (branch pnpm-release/main) and, once that merges, publish to npm via OIDC trusted publishing.