Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>NPM Package NavigatorNew to Visual Studio Code? Get it now.
NPM Package Navigator

NPM Package Navigator

Jeremy Meng

|
2 installs
| (0) | Free
Navigate quickly to npm package resources directly from JavaScript and TypeScript projects.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

NPM Package Navigator

Navigate to npm package resources directly from your JavaScript and TypeScript projects inside VS Code.

Features

  • Detect package names in package.json dependencies and common import/require statements.
  • Quick navigation to:
    • Package directory inside node_modules
    • Package package.json
    • README (if available)
    • Repository, homepage, and issue tracker URLs
    • npmjs package page (latest or specific version)
    • CDN pages on unpkg.com and jsDelivr
  • Hover tooltips with useful metadata and quick links.
  • CodeLens entries for dependencies in package.json.
  • Context menu command and command palette entry for fast access.
  • Optional debug logging to the VS Code Output panel (NPM Package Navigator).

Getting Started (Users)

  1. Install the extension.
  2. Open a JavaScript or TypeScript project with dependencies installed.
  3. Hover over imports or dependency names, or trigger Package Navigator: Open Menu from the command palette.

Development

npm install
npm run watch

Press F5 in VS Code to launch the extension host for development.

Compile

npm run compile

Lint

npm run lint

The project uses ESLint 9 with a flat config defined in eslint.config.mjs.

Format

npm run format

Prettier formats project source and config files using the settings in prettier.config.mjs.

Test

npm test

Debug logging

Set the npmPackageNavigator.debugLogging setting to true to emit verbose messages to the NPM Package Navigator channel in the VS Code Output panel.

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft