I faced issue recently regarding having a lot of javascript packages in the package.json file (~1k lines) that are not used in the project and they all are included in the final compiled js file which effects the performance of page loading negatively.
I wanted to search the packages that are not used in the project but it was not that easy to search package by package individually, i found some interesting tools such as “depcheck” but doesn’t give me the result that i want, so I decided to build my own tool (whereisdep)
I was confuse between using JS, Rust or C++ but at the end I used C++.
Tool On GitHub: https://github.com/khaledalam/whereisdep