package-details
v1.0.0
Published
Wrapper around npm registry
Readme
package-details
A thin wrapper around the npm registry
Installation
npm install package-detailsUsage
// get latest version of a package
var pkg = require('package-details');
pkg('mocha').then(function (details) {
console.log(details['dist-tags'].latest);
});