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

nestjs-doctor-vscode

v0.1.2

Published

Static analysis for NestJS — inline diagnostics and health score

Downloads

111

Readme


Features

  • Inline diagnostics — squiggly underlines on the exact line with hover details
  • Problems panel — all diagnostics surfaced in VS Code's built-in Problems view
  • Status bar — shows your project's health score at a glance
  • Scan on save — automatically re-scans when you save a file (configurable debounce)
  • Scan on open — scans the workspace when VS Code opens
  • Manual scan — trigger a full project scan from the command palette
  • 50 built-in rules — same rules as the CLI, covering security, performance, correctness, architecture, and schema

Requirements

Install nestjs-doctor as a dev dependency in your workspace. The extension's LSP server loads it from your project's node_modules.

npm install -D nestjs-doctor

The extension activates automatically when it detects @nestjs/core in your node_modules or when you open a TypeScript file.


Configuration

Extension Settings

| Setting | Type | Default | Description | |---------|------|---------|-------------| | nestjsDoctor.enable | boolean | true | Enable NestJS Doctor analysis | | nestjsDoctor.scanOnSave | boolean | true | Re-scan when a file is saved | | nestjsDoctor.scanOnOpen | boolean | true | Scan when the workspace opens | | nestjsDoctor.debounceMs | number | 2000 | Debounce delay (ms) before re-scanning after save |

Project Configuration

The extension automatically reads project-level configuration from these files (checked in order):

  1. nestjs-doctor.config.json
  2. .nestjs-doctor.json
  3. "nestjs-doctor" key in package.json

This is the same configuration the CLI uses — rule overrides, category toggles, ignore patterns, and exclude globs all work identically in both.

{
  "rules": {
    "no-missing-injectable": true,
    "no-duplicate-providers": { "enabled": true, "severity": "error" }
  },
  "categories": {
    "security": true,
    "performance": false
  },
  "ignore": {
    "files": ["src/legacy/**"],
    "rules": ["no-default-generic"]
  },
  "exclude": ["**/generated/**"],
  "customRulesDir": "./rules"
}

See the configuration reference for all available options.


Commands

| Command | Description | |---------|-------------| | NestJS Doctor: Scan Project | Manually trigger a full project scan |

Open the command palette (Ctrl+Shift+P / Cmd+Shift+P) and search for "NestJS Doctor".


Troubleshooting

Extension not activating? Make sure @nestjs/core is installed in your workspace's node_modules. The extension only activates for NestJS projects.

No diagnostics showing? Verify nestjs-doctor is installed as a dev dependency (npm install -D nestjs-doctor). The LSP server requires it to be present in node_modules.

Diagnostics are stale? Try running NestJS Doctor: Scan Project from the command palette. You can also adjust nestjsDoctor.debounceMs if scans aren't triggering fast enough after saves.


Links