Easily reveal and open dependency folders from package.json in VS Code. With this extension, you can click on any dependency (in dependencies, devDependencies, or peerDependencies) and instantly jump to its folder inside node_modules in the Explorer.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Open Module Folder is a Visual Studio Code extension that allows you to quickly reveal the folder of any npm module listed in your package.json file. Simply click on a module name in the dependencies, devDependencies, or peerDependencies section, and the corresponding folder in node_modules will be revealed in the Explorer panel — automatically expanded for easy access.
Features
Click on any dependency in package.json to reveal its folder in node_modules.
Supports dependencies, devDependencies, and peerDependencies.
Automatically expands the folder in the Explorer so you can see its contents immediately.
Speeds up navigation and inspection of module source code.
Usage
Open a package.json file in your project.
Hover over a dependency name (e.g., "react": "^18.0.0").
Click the module name.
The folder will be revealed and expanded in the Explorer panel.
Requirements
Visual Studio Code
A project with node_modules installed (npm install or yarn install)
Extension Settings
This extension does not require any settings. Just install and start clicking module names in package.json.
Known Issues
Works only with dependencies, devDependencies, and peerDependencies.
If the module folder does not exist (not installed), an error message is shown.