requires-version
v0.1.0
Published
requires dependency version check
Downloads
3
Readme
requires-version
Install
$ npm install requires-version ---save-dev
Usage
import {LESS, GREATER, EQUAL, requires} from 'requires-version';
requires('node'); // return true|false
requires('node', '18.14.1', GREATER | EQUAL); // return true|false