0.0.2 • Published 8 years ago

node-ver v0.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

node-ver Build Status

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 = require('node-ver');

version().full;
//=> '4.2.6'

version().major;
//=> 4

version().minor;
//=> 2

version().patch;
//=> 6

License

MIT © Michael Wuergler