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

node-tidy

v1.0.20

Published

A CLI tool to find and remove unused NPM packages and Install Missing packages in your Node.js projects.

Readme

Node-Tidy

Node-Tidy is a CLI tool designed to identify and remove unused dependencies and Missing Dependencies required in your Js projects. It simplifies package management and ensures your node_modules directory and package.json stay clean and efficient run your code on Production Error Free 😊


🚀 Features

  • Detects unused dependencies and devDependencies in your project.
  • Provides an interactive option to remove unused packages.
  • Keeps your project lightweight and efficient.
  • Rollback option to restore changes if needed.
  • Find Missing Dependencies and Install them

📦 Installation

Install Node-Tidy globally via NPM:

npm install -g node-tidy

🛠️ Usage

  • Navigate to your Node.js project directory:
cd your-project
  • Run
node-tidy

❯ node-tidy
Checking for unused packages. This may take a while...
Unused packages found:
Dependencies:
- mongoose
Do you want to remove these unused packages? (yes/no): y
Removing mongoose...
Unused packages removed successfully.
Do you want to rollback the changes? (yes/no): n
Changes retained.
Scanning for missing packages...

Missing packages detected:
- express
- dotenv
- morgan

Do you want to install these missing packages? (yes/no): y
Installing express...
Installing dotenv...
Installing morgan...
Missing packages installed successfully.

😊 Why Use Node-Tidy?

  • Save Disk Space: By removing unnecessary packages, you free up space in your project and on your disk, ensuring you're only keeping what's necessary.
  • Improve Performance: A leaner node_modules and cleaner package.json means faster install times and more efficient project load times.
  • Cleaner Project Structure: Node-Tidy helps keep your project organized by removing unused dependencies, ensuring your package.json is only reflecting what’s in use.
  • Easier Dependency Management: Keeping your dependencies up-to-date and removing unused ones reduces the complexity of managing package versions and conflicts.
  • Quick and Interactive: Node-Tidy offers an easy-to-use interactive prompt, making the process of identifying and removing unused dependencies simple and painless.
  • Rollback Changes: Made a mistake? No worries. Node-Tidy lets you rollback the removal process, restoring your project to its previous state.
  • Find Missing Dependencies and Install Them : Missing dependencies but don't which and getting error but don't worry Node-Tidy got you covered.It will find all dependencies and install them so that you don't have to worry about them and run Project error free

😊 Supported?

  • React.js NextJs:
  • NodeJS ExpressJS NestJS ...other Frameworks: