Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>NPMRC FinderNew to Visual Studio Code? Get it now.
NPMRC Finder

NPMRC Finder

Alvin Bellero

|
13 installs
| (0) | Free
| Sponsor
Easily find, manage, and edit .npmrc files across your workspace, home directory, and global npm configuration!
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

NPMRC Finder — VSCode Extension

✨ Easily find, manage, and edit .npmrc files across your workspace, home directory, and global npm configuration!

✨ Features

  • 🔍 Automatically detects .npmrc files in workspace, home directory, and global npm configuration
  • 📝 Quick access to edit any detected .npmrc file
  • 🔄 Real-time monitoring of .npmrc file changes
  • 📊 Status bar indicator showing number of detected .npmrc files
  • 🎯 Quick-pick menu for easy file selection
  • 🧪 Comprehensive test coverage

📥 Installation

  1. Open the Extensions view in Visual Studio Code (Cmd+Shift+X or Ctrl+Shift+X).
  2. Search for npmrc-finder and click Install.
  3. Once installed, the extension will automatically detect and monitor .npmrc files!

🚀 Usage

  1. Look for the package icon (📦) in the status bar showing the number of detected .npmrc files.
  2. Click the status bar item to open the quick-pick menu.
  3. Select any .npmrc file from the list to open it in the editor.

💡 Example

The extension automatically detects .npmrc files in:

  • Current workspace folders
  • User's home directory (~/.npmrc)
  • Global npm configuration (/usr/local/etc/npmrc or %AppData%\npm\etc\npmrc)

When you click the status bar item, you'll see a menu like:

Select .npmrc file to edit
> 📦 /path/to/workspace/.npmrc
  📦 ~/.npmrc (Recently edited)
  📦 /usr/local/etc/npmrc

🛠️ Development

Project Structure

npmrc-finder/
├── src/
│   ├── extension.ts     # Main extension code
│   ├── npmrcFinder.ts   # Core functionality
│   └── test/            # Test files
│       └── suite/       # Test suites
├── package.json         # Extension manifest
└── tsconfig.json        # TypeScript configuration

📜 License

This project is licensed under the MIT License. See the LICENSE file for more details.

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