npm — NPM packages
npm check examines the local NPM package database, and inserts that global packages are installed or missing.
It checks global packages, rather than packages specific to a particular
Check that a package is installed:
[[npm]] package = 'yarn'
Check that a particular version is installed:
[[npm]] package = 'typescript' version = '3.6.4'
Check that a package is not installed:
[[npm]] package = 'express' state = 'missing'
List of parameters
|package||string||Name of the package.|
|state||string||State of the package. This can be |
|version||string||If installed, the version that should be present.|