Skip to content

radiovisual/node-ver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Get your environment's active version of node.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published