get-published-version
v1.0.6
Published
Gets the currently published version of a package
Downloads
13
Readme
get-published-version
Small utility that retrieves the latest version of a module published to npmjs.NOTE: Future versions will allow you to specify a registry.
Install
npm install -g get-published-version
Programmatic Use
Command Line
get-published-version <module name>
Node
const getVersion = require('get-published-version');
getVersion('get-published-version')
.then(version => console.log(version));