PackLensVisual npm package manager for VS Code. See every package across all your projects in one place, find duplicates, detect unused packages, and install from your local cache instead of downloading again. The ProblemEvery project gets its own PackLens scans your projects, shows you the real numbers, and lets you install packages from projects you already have locally. No internet. No waiting. FeaturesProjects OverviewSee all your npm projects in one panel. Package count, real node_modules size after a deep scan, last modified date. Everything at a glance without opening each project. Duplicate DetectionPackLens finds packages installed across multiple projects and shows you exactly how much space is being wasted. The first time it runs, it shows you the total as a notification most devs are surprised by the number. Install From Local ProjectsWhen you need a package in a new project, PackLens checks if you already have it somewhere on your machine first. If yes, it symlinks it directly, zero download, instant. Falls back to copy if symlinks aren't available, and only asks to use npm if the package genuinely doesn't exist locally. All Packages ViewEvery package across every project in one searchable list. Sort by name, size, or how many projects use it. Add any package to your current project with one click. Outdated PackagesCheck the npm registry for newer versions across all your projects at once. See current vs latest in one view instead of running Unused Package DetectionPackLens scans your source files and finds packages installed but never imported. No regex tricks, it actually walks your Package.json HoverHover any package name in Project TemplatesSave any project's package set as a template. New project? Pick a template and install everything from your local cache in seconds. Getting Started1. Install PackLens from the VS Code Marketplace 2. Click the PackLens icon in the activity bar 3. Click the 4. PackLens scans automatically and shows your projects 5. Click the status bar item or the layout icon to open the full panel Scans
Run Quick Scan first to see your projects. Run Deep Scan when you want real disk sizes and wasted space numbers. Installing PackagesWhen you click Add on any package in the All Packages view: : PackLens checks if the package already exists in any scanned project's node_modules : If found symlinks it directly to your target project. No download. : If symlinks are unavailable on your system copies it instead. Still no download. : If not found anywhere locally asks before falling back to npm install Requirements: VS Code 1.109.0 or higher : Node.js installed : npm installed Extension Settings
Roadmap: File watcher — auto detect new projects without manual rescan : CVE vulnerability alerts : Bundle size warnings before install : GitHub stars and weekly downloads in hover : Package health score per project LicenseMIT — Built by Firekid |