1.0.6 • Published 5 years ago
get-published-version v1.0.6
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));