get-npm-version
v1.0.1
Published
Returns the NPM version installed in your environment
Downloads
6
Maintainers
Readme
get-npm-version
- Simple NPM package that returns installed NPM version or
null
.
Install via NPM
$ npm i get-npm-version
Usage
- Returns a
String
with the currently installed NPM version, ornull
on error.
const getNpmVersion = require('get-npm-version');
console.log('Your installed NPM Version is: ' + getNpmVersion());