News for hackers. Stuff that matters.
Re:Cleaning house in Nx monorepo, how i removed unused deps ... by aitchnyu on Monday September 29, 2025 @12:54AM (#45410440)
Can this also detect low-hanging fruit like say, 5 instances where we can add some code and give up Lodash?
Re:Cleaning house in Nx monorepo, how i removed unused deps ... by johnjames4214 on Monday September 29, 2025 @05:59AM (#45411965)
yeah you can definitely point it at lodash (or any utility lib) and it’ll surface spots where it’s imported but never really used. but for “we could just rewrite this tiny helper ourselves” type stuff, knip won’t judge code quality. it’s more about flagging dead deps/files than saying “ditch lodash.” that call still needs a human.