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