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.
Top comments (0)