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
S.Shanmukha Sai reddy | Sciencx (2025-09-28T11:52:39+00:00) π οΈ Introducing reusepkg: Reuse Node.js Packages Across Projects π. Retrieved from https://www.scien.cx/2025/09/28/%f0%9f%9b%a0%ef%b8%8f-introducing-reusepkg-reuse-node-js-packages-across-projects-%f0%9f%9a%80/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.