Find unused npm packages in package.json

后端 未结 8 967
孤街浪徒
孤街浪徒 2020-12-12 08:52

Is there a way to determine if you have packages in your package.json file that are no longer needed?

For instance, when trying out a package and later commenting o

8条回答
  •  独厮守ぢ
    2020-12-12 09:29

    We can use the below npm module for this purpose:

    https://www.npmjs.com/package/npm-check-unused

提交回复
热议问题