runtime-engine-check

1.0.0 • Public • Published

runtime-engine-check Build Status

Validate process.version against package.json:engines.node

Why

This is a simpler check than check engines, making it much faster.

Install

$ npm install --save runtime-engine-check

Usage

// in package.json
{
  ...
  "engines": {
    "node": ">=6.0.0"
  },
  ...
}
require('runtime-engine-check')();

or

import * as runtimeCheck from 'runtime-engine-check';
runtimeCheck();

License

Apache-2.0

Dependencies (2)

Dev Dependencies (2)

Package Sidebar

Install

npm i runtime-engine-check

Weekly Downloads

338

Version

1.0.0

License

MIT

Last publish

Collaborators

  • sramam