Current-NPM-Version 
Check the NPM version in your code
Install
$ npm install current-npm-version
Usage
const npmVersion = require('current-npm-version');
console.log(npmVersion);
$ npm start
#=> 6.4.1
License
MIT © Victor Nizeyimana
Check the version of NPM in your code
Check the NPM version in your code
$ npm install current-npm-version
const npmVersion = require('current-npm-version');
console.log(npmVersion);
$ npm start
#=> 6.4.1
MIT © Victor Nizeyimana