<div align="center" <img src="installed-check.svg" width="650" height="auto" alt="installed-check" / </div
<div align="center"
</div
Verifies that installed modules comply with the requirements specified in package.json.
By default checks engine ranges, peer dependency ranges and installed versions and, in mono-repos using workspaces, by default checks all workspaces as well as the workspace root.
Usage
Command line
npm install -g installed-checkThen run it at the root of your project to validate the installed dependencies:
installed-checkAs npm script
npm install --save-dev installed-check"scripts": {
"test": "installed-check"
}Programmatic use
Use installed-check-core
Checks
- --engine-check / -e – if set installed-check will check that the installed modules doesn't have stricter engines ranges than those in the package.json and suggests an alternative requirement if they do. If set, the default checks will be overriden.
- --peer-check / -p – if set installed-check will check that the installed modules doesn't have stricter peerDependencies ranges than those in the package.json and suggests an alternative requirement if they do. If set, the default checks will be overriden.
- --version-check / -c – if set installed-check will check that the installed modules comply with the version requirements set for them the package.json. If set, the default checks will be overriden.