Need Project Manager

    node-version

    0.1.0 • Public • Published

    Node-version

    A quick module that returns current node version.

    See server.js in examples/

    Installation

    npm install node-version
    

    Quick Start

    var nodeVersion = new (require('../lib/node-version').version);
    var currentVersion = nodeVersion.getVersion();
    
    /*
    console.log(currentVersion);
    
    {
    	original: 'v0.4.10', // same as process.version
    	short: '0.4',
    	long: '0.4.10',
    	major: '0',
    	minor: '4',
    	build: '10'
    }
    */
    

    Keywords

    Install

    npm i node-version@0.1.0

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • srod