πŸ› οΈ Introducing reusepkg: Reuse Node.js Packages Across Projects πŸš€



This content originally appeared on DEV Community and was authored by S.Shanmukha Sai reddy

Every time we start a new Node.js project, we re-install the same packages again and again.

Disk space wasted 📂

Bandwidth wasted 🌐

Setup time wasted ⏳

I got tired of this, so I built reusepkg
🎉

💡 What it does

Instead of duplicating node_modules for every project, reusepkg creates symlinks to packages you already have.

Saves 50–80% disk space

Speeds up project setup ⚡

Works across Windows, macOS, Linux

🔑 Features

✅ Smart registry to track package locations
✅ Intelligent package discovery (uses existing before installing new)
✅ Beautiful CLI with emojis 🎨
✅ Detect & fix broken symlinks (reusepkg doctor)
✅ Clean up unused packages (reusepkg clean)

📦 Quick Start
npm install -g reusepkg

reusepkg install express
reusepkg link
reusepkg doctor

📊 Example Impact

Installed express once in Project A.

Started Project B, ran reusepkg link β†’ boom 💥 symlink created, no re-download, no duplication.

🙌 Why I Built This

It started as a small annoyance (“why am I downloading express for the 100th time?”).
Now it’s a tool that can save real time and resources for any Node.js developer.

👉 Try it out: https://www.npmjs.com/package/reusepkg

👉 Contribute: https://github.com/shanmukhasaireddy13/reusepkg

Made with ❤ for the Node.js community.


This content originally appeared on DEV Community and was authored by S.Shanmukha Sai reddy