/requires-version

Primary LanguageTypeScriptMIT LicenseMIT

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