📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP
Socket
Sign inDemoInstall
Socket

installed-check

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

installed-check

Checks that all dependencies in your package.json have supported versions installed

8.0.1
Source
npm
Version published
Weekly downloads
24K
42.78%
Maintainers
1
Weekly downloads
 
Created
Source
installed-check

npm version npm downloads js-semistandard-style Follow @voxpelli@mastodon.social

Checks that the installed modules comply fulfill the requirements of package.json.

By default checks both engine and module versions against requirements.

Usage

Command line

npm install -g installed-check

Then run it at the root of your project to validate the installed dependencies:

installed-check

As npm script

npm install --save-dev installed-check
"scripts": {
  "test": "installed-check"
}

Programmatic use

Use installed-check-core

Options

  • --engine-check / -e – if set installed-check will 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.
  • --engine-ignore / -i – if set then the specified module names won't be included in the engine check. engineIgnores should an array of module names while the CLI flags should be set once for each module name.
  • --engine-no-dev / -d – if set then dev dependencies won't be included in the engine check.
  • --version-check / -c – if set installed-check will check that the installed modules comply with the version requirements set for it the package.json. If set, the default checks will be disabled.

Additional command line options

  • --help / -h – prints all available flags
  • --strict / -s – treats warnings as errors
  • --verbose / -v – prints warnings and notices

FAQs

Package last updated on 20 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts