Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>npm Package Page LinksNew to Visual Studio Code? Get it now.
npm Package Page Links

npm Package Page Links

reediculous456

|
1 install
| (0) | Free
Open npm package pages directly from dependency names in package.json.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

npm-dependency-links

Visual Studio Marketplace Version Visual Studio Marketplace Downloads Visual Studio Marketplace Rating

Open VSX Version Open VSX Downloads

Links the dependencies in your package.json to their npmjs.com profile.

Features

Visit the npmjs.com profile of your dependencies by simply CMD/Ctrl+click on the package name in your package.json and pnpm-workspace.yaml.

link example

Underline

Package names are underlined all the time by default. To show the underline only while holding Command (macOS) or Ctrl, set:

"npmDependencyLinks.underlineOnlyWithModifier": true

Clicking while that key is held still opens the package page, and so does Go to Definition. If editor.multiCursorModifier is ctrlCmd, hold Alt instead — the same key VS Code uses for Go to Definition.

Custom Registry URL

To change the URL, you can set the configuration value in settings.json as below:

"npmDependencyLinks.registryUrlPattern": "http://myCustomRegistry/{{pkg}}/package?queryparams"

Note that {{pkg}} is the only part of the pattern that will be set by this extension. E.g., If your pattern is http://registry.mysite.com/package?name={{pkg}}?version=latest. If you click on npm-dependency-links, then the resulting URL will be http://registry.mysite.com/package?name=npm-dependency-links?version=latest

Attribution

Based on the original npm-dependency-links extension by Rene Herrmann.

Requirements

Visual Studio Code > 1.85.0

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft