Returns latest published version of a given npm package.
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
test
.gitignore
.travis.yml
LICENSE
README.md
index.js
package.json

README.md

lver build status

Returns latest published version of a given npm package.

➝  lver concat-stream
1.0.1
var lver = require('lver');
lver('concat-stream', function (err, version) {
  if (err) return console.error(err);
  console.log(version);  
});

Installation

npm install lver

License

MIT