npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

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

install

npm i runtime-engine-check

Downloadsweekly downloads

248

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability