How to check unused, outdated and incorrect dependencies in Angular 9?
Checking our angular projects regularly for the unused, outdated and incorrect dependencies will keep our project on track and helpful for angular updations.
Table of Contents
List of NPM Plugins to check unused, outdated and incorrect dependencies:
npm-check
Install npm-check:
npm install -g npm-check
How to use “npm-check”?
Run npm-check command after installing it successfully on your project root folder.
npm-check
What information npm-check provides ?
npm-check plugin provides the Not used, Outdated (or needs the update) and the missing dependency details.
npm-check sample screenshot:
depcheck
Install depcheck
npm install -g depcheck
How to use “depcheck”?
Run depcheck on your project root folder after the successful installation.
depcheck
What information depcheck provides ?
depcheck provides the missing and used dependencies (only for development or prod level)