1.0.1 • Published 9 years ago

latest-versions v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

latest-versions

Get the latest versions of given npm packages

Like latest-version, but supports querying multiple packages at once.

Usage

var latestVersions = require('latest-versions')
var packages = [
  'scratchdb',
  'pouchdb',
  'nano'
]
latestVersions(packages)
  .then(console.log.bind(console))
  //=> { scratchdb: '1.0.0', pouchdb: '4.0.3', nano: '6.1.5' }
  .catch(console.error.bind(console))

CLI

$ npm i -g latest-versions
$ latest-versions scratchdb pouchdb nano
{ scratchdb: '1.0.0', pouchdb: '4.0.3', nano: '6.1.5' }

Author

© 2015 Tom Vincent https://tlvince.com/contact

License

Released under the MIT License.