verify-enginedeprecated

Command line tool to verify the engine in the package.json

Usage no npm install needed!

<script type="module">
  import verifyEngine from 'https://cdn.skypack.dev/verify-engine';
</script>

README

verify-engine

Build Status devDependency Status devDependency Status

Verify-engine is a command line utility to ensure that your package is used only on supported engines.

NPM verifies packages' engine requirements when they are installed. However, NPM doesn't verify this for top level packages.

Installation

$ npm install verify-engine --save-dev

Usage

Specify your engine requirements in package.json

"engine": {
  "node": ">=1.0.0"
}
$ verify-engine
node version is incompatible with engine set in package.json. Found 0.12.4, expected >=1.0.0