node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »

npm-package-latest

Usage

var npmPackageLatest = require('npm-package-latest');
npmPackageLatest("package-name", function(error, latest) { ... });

Installation

npm install npm-package-latest