I
I
ikutin6662021-07-08 13:24:02
Node.js
ikutin666, 2021-07-08 13:24:02

Is it possible to identify unused packages?

Sometimes, while writing code, you try a bunch of different libraries and your package.json gets bloated. is there a way to leave only those packages in package.json that are actually used?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
ikutin666, 2021-07-09
@ikutin666

from comments
https://dev.to/poopcoder/remove-unused-npm-modules...

R
Rag'n' Code Man, 2021-07-08
@iDmitriyWinX

Delete node_modules , run the project and look for errors :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question