node-ver
Get your environment's active version of node.
Install
$ npm install --save node-ver
Get the full version as a string
, and the major, minor, patch as a number
.
Usage
const version = ; full;//=> '4.2.6' major;//=> 4 minor;//=> 2 patch;//=> 6
License
MIT © Michael Wuergler