npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

nvm-manager

v1.0.4

Published

A modern CLI tool to manage Node.js versions and global packages using nvm/nvm-windows.

Downloads

10

Readme

npm install -g nvm-manager

nvm-manager

Modern CLI to manage Node.js versions and global npm packages using nvm or nvm-windows.

Features

  • Migrate global packages to any Node.js version (nvm-manager migrate)
  • List global npm packages for all Node.js versions (nvm-manager list-all)
  • Cleanup old Node.js versions, keep only latest LTS (nvm-manager cleanup)
  • Install latest Node.js LTS and restore global packages (nvm-manager install-lts)
  • Fix phantom Node.js versions (nvm-manager fix-failed)
  • Interactive prompts, batch options, and rich CLI feedback
  • Cross-platform: Windows (nvm-windows), macOS/Linux (nvm)

Installation

npm install -g nvm-manager

Usage

Migrate global packages:

nvm-manager migrate

List all global packages:

nvm-manager list-all

Cleanup old Node.js versions:

nvm-manager cleanup

Install latest LTS and restore packages:

nvm-manager install-lts

Fix phantom versions:

nvm-manager fix-failed

Show all commands:

nvm-manager --help

Prerequisites

  • nvm or nvm-windows installed and configured
  • Node.js and npm available in your shell
  • On Windows: NVM_HOME environment variable set

Troubleshooting

  • If nvm commands are not found, ensure nvm is in your PATH and shell config
  • For phantom versions, check and edit your nvm config/settings file
  • For permission errors, run with appropriate privileges or manually delete version folders

MIT License

Fix Phantom Versions

nvm-manager fix-failed

Fixes Node.js versions that show in nvm list but cannot be uninstalled normally. Attempts manual folder deletion and provides guidance for config file cleanup.

📚 Command Help

nvm-manager --help           # Show all commands
nvm-manager <command> --help # Show help for specific command  

🔧 How It Works

  1. list-all: Switches to each Node version, reads global packages via npm ls -g --json, saves to consolidated list
  2. Cleanup: Detects latest LTS, preserves it, prompts to uninstall others with batch options
  3. Install: Compares installed vs latest package versions, prompts for missing/outdated packages
  4. Fix-Failed: Attempts nvm uninstall, falls back to manual folder deletion, guides through config cleanup

🛠️ Troubleshooting

  • Phantom versions persist: Check and edit %NVM_HOME%\settings.txt to remove stale entries
  • Permission errors: Run with appropriate privileges or manually delete version folders
  • nvm commands not found: Ensure nvm is in your PATH and shell environment is configured
  • NVM_HOME not set: Set environment variable pointing to your nvm installation directory

📁 Project Structure

nvm-manager/
├── package.json
├── bin/
│   └── nvm-manager          # CLI executable
├── src/  
│   ├── index.js            # Main CLI entry point
│   ├── utils.js            # Shared utilities
│   └── commands/
│       ├── list-all.js      # list-all command
│       ├── cleanup.js      # Cleanup command  
│       ├── install-lts.js      # Install command
│       └── fix-failed.js   # Fix-failed command
└── README.md

🤝 Contributing

Issues, suggestions, and pull requests welcome!

📄 License

MIT License - Feel free to use, modify, and distribute.

🙏 Credits

Developed by Akhil Chaturvedi. Inspired by the need for a modern, cross-platform nvm global package manager and to fill gaps in nvm-windows.


Happy Node.js version management! 🚀