How to check unused, outdated and incorrect dependencies in Angular 9?

How-check-unused-outdated-incorrect-dependencies-Angular-9-featured

Checking our angular projects regularly for the unused, outdated and incorrect dependencies will keep our project on track and helpful for angular updations.

How-check-unused-outdated-incorrect-dependencies-Angular-9-blog

List of NPM Plugins to check unused, outdated and incorrect dependencies:

  1. npm-check
  2. depcheck

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:

npm-check

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)

Leave a Reply