Checks that the installed modules comply fulfill the requirements of package.json.
By default checks both engine and module versions against requirements.
npm install -g installed-check
Then run it at the root of your project to validate the installed dependencies:
npm install --save-dev installed-check
-e– if set
installed-checkwill check that the installed modules comply with the engines requirements of the package.json and suggest an alternative requirement if the installed modules don't comply. If set, the default checks will be disabled.
-i– if set then the specified module names won't be included in the engine check.
engineIgnoresshould an array of module names while the CLI flags should be set once for each module name.
-d– if set then dev dependencies won't be included in the engine check.
-c– if set
installed-checkwill check that the installed modules comply with the version requirements set for it the package.json. If set, the default checks will be disabled.
-h– prints all available flags
-s– treats warnings as errors
-v– prints warnings and notices