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

nim-doctor

v0.1.0

Published

Unofficial local-first diagnostic CLI for NVIDIA NIM developer workflows.

Downloads

168

Readme

nim-doctor

Unofficial local-first diagnostic CLI for NVIDIA NIM developer workflows.

CI License: MIT Node

NVIDIA NIM gives developers OpenAI-compatible model endpoints. The hard part is knowing whether a specific model actually works inside Cursor, Continue, LiteLLM, CrewAI, LlamaIndex, OpenCode, and other agent tools.

nim-doctor is the local preflight check before you trust NVIDIA NIM inside an agent workflow.

npx nim-doctor demo

The demo is offline. It writes local reports without needing an API key.

Visual Map

flowchart LR
  A["Developer machine"] --> B["nim-doctor"]
  B --> C["NVIDIA NIM /v1 endpoint"]
  B --> D["Cursor / Continue / LiteLLM configs"]
  B --> E["Agent-readiness tests"]
  E --> F["chat"]
  E --> G["streaming"]
  E --> H["tool_calls"]
  E --> I["streaming tool calls"]
  E --> J["JSON mode"]
  B --> K["Markdown / HTML / JSON evidence"]

Agent Trust Suite

flowchart LR
  A["agent-endpoint-doctor"] --> F["agent-trust-center"]
  B["nim-doctor"] --> F
  C["agent-cognicheck"] --> F
  D["agent-skillguard"] --> F
  E["agentops-watchtower"] --> F
  F --> G["one trust report"]
  F --> H["CI gate"]

nim-doctor contributes NVIDIA NIM readiness evidence to Agent Trust Center through npx nim-doctor evidence.

The Problem

Simple API checks are not enough.

| Looks fine | What can still break | | --- | --- | | API key exists | key is pasted into config or wrong env var is used | | /v1/models works | selected model fails in /chat/completions | | chat returns text | streaming hangs in an IDE | | tool schema is accepted | response does not contain message.tool_calls | | JSON mode is accepted | returned content is not parseable JSON | | web UI works | local Cursor/Continue config is wrong |

What nim-doctor Does

flowchart TD
  A["doctor"] --> A1["Node 22 check"]
  A --> A2["NVIDIA_API_KEY presence"]
  A --> A3["base URL shape"]
  A --> A4["writable .nim-doctor folder"]

  B["discover"] --> B1["GET /v1/models"]
  C["test"] --> C1["single model health check"]
  D["compat"] --> D1["agent-readiness matrix"]
  E["init"] --> E1["safe config templates"]
  F["report"] --> F1["shareable evidence"]

Quick Start

# Offline proof, no key needed
npx nim-doctor demo

# Local setup checks
npx nim-doctor doctor

# Live model discovery, requires NVIDIA_API_KEY
npx nim-doctor discover

# Single model probe
npx nim-doctor test qwen/qwen3-coder-480b-a35b-instruct --stream --tools

# Full agent-readiness matrix
npx nim-doctor compat qwen/qwen3-coder-480b-a35b-instruct

# Generate reviewable tool config
npx nim-doctor init continue

# Scan existing config
npx nim-doctor check cursor

# Render evidence reports
npx nim-doctor report

PowerShell:

$env:NVIDIA_API_KEY="nvapi-..."
cmd /c npx -y nim-doctor compat qwen/qwen3-coder-480b-a35b-instruct

Agent-Readiness Matrix

nim-doctor compat <model> checks the paths that matter for coding agents.

nim compatibility
-----------------
Decision: REVIEW | Agent readiness: 80/100
[PASS] chat: Capability returned the expected agent-compatible response shape.
[PASS] streaming: Capability returned the expected agent-compatible response shape.
[PASS] tools: Capability returned the expected agent-compatible response shape.
[FAIL] streaming_tools: streaming tool request did not return recognizable tool-call deltas.
[PASS] json_mode: Capability returned the expected agent-compatible response shape.

Architecture

flowchart TB
  CLI["src/cli.ts"] --> Diag["core/diagnostics.ts"]
  CLI --> Client["core/nvidia.ts"]
  CLI --> Compat["core/compatibility.ts"]
  CLI --> Configs["config/generators.ts"]
  CLI --> Reports["report/render.ts"]

  Client --> NIM["NVIDIA NIM OpenAI-compatible API"]
  Compat --> Matrix["nim-compatibility-matrix.md/json"]
  Configs --> Templates["Continue / LiteLLM / Cursor templates"]
  Reports --> Evidence["nim-doctor-report.md/html/json"]

Commands

| Command | Purpose | | --- | --- | | demo | Offline proof run with fixture models, generated configs, and reports | | doctor | Checks Node version, API key presence, base URL shape, and output folder permissions | | discover | Lists live NVIDIA NIM models or bundled offline fixtures | | test <model> | Runs a focused live model health check | | compat <model> | Runs the full agent-readiness matrix | | check <tool> | Scans local config files for known NIM mistakes | | init <tool> | Writes reviewable config templates | | report | Writes JSON, Markdown, and HTML evidence reports |

Output Files

.nim-doctor/
  cache/
    diagnostics.json
    generated-configs.json
    model-tests.json
    models.json
  generated/
    continue-nim-template.yaml
    litellm-nim-template.yaml
  reports/
    nim-compatibility-matrix.json
    nim-compatibility-matrix.md
    nim-doctor-report.json
    nim-doctor-report.md
    nim-doctor-report.html

Why Not Just Use LiteLLM?

| Tool | Good At | Gap | | --- | --- | --- | | LiteLLM | Proxying and routing providers | Does not inspect local Cursor/Continue setup | | NVIDIA Build UI | Trying models in a browser | Does not generate local evidence reports | | Web status pages | Showing availability | Not project-local, not config-aware | | nim-doctor | Diagnostics, config templates, NIM compatibility evidence | Not a production proxy |

Research notes: docs/research.md

Safety And Legal Notes

nim-doctor is an unofficial community tool. It is not affiliated with, endorsed by, or sponsored by NVIDIA.

Developer or trial access should be treated as development, testing, and evaluation access unless you have the proper production subscription or license.

This project does not bypass authentication, bypass rate limits, scrape NVIDIA services aggressively, redistribute NVIDIA models, claim official NVIDIA status, or store your API key in reports.

Development

npm install
npm run typecheck
npm test
npm run lint
npm run build
node dist/cli.js demo

License

MIT