S
S
Sergey Suntsev2019-11-06 14:32:22
JavaScript
Sergey Suntsev, 2019-11-06 14:32:22

How to identify unused node modules in a project?

Refactoring an old project. Sawed out about half of the functionality that has not been used for a long time.
Now I decided to take on the dependencies, how to determine which node modules are not used in the project?
I only have to go through ctrl+shift+f on imports in my head.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Yarkov, 2019-11-06
@GreyCrew

In my head, just go through ctrl + shift + f on imports

And this is a good decision. But there is https://www.npmjs.com/package/depcheck
PS How do people google?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question