npm-version
Version:
Get the current npm version of the running system
18 lines (13 loc) • 651 B
Markdown
npm-version
===========
Get the npm version of the running system.
[](https://travis-ci.org/vvo/npm-version)
[](https://david-dm.org/vvo/npm-version)
[](https://david-dm.org/vvo/selenium-standalone#info=devDependencies)
```js
var npmVersion = require('npm-version');
npmVersion(function out(err, version) {
console.log(version);
// outputs your current npm version
});
```