1.0.0 • Published 7 years ago

package-details v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

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);
});
1.0.0

7 years ago