curver
v1.0.3
Published
Easily fetch the latest version of node module available on npm.
Downloads
7
Maintainers
Readme
curver
Easily fetch the latest version of node module available on npm.
Scraps the current version of a node module from it's readme page. Basically from sidebar. Does not look version from package.json file.
Install
$ npm install --save curver
Usage
const curver = require('curver');
curver('packstat').then(currentVersion => {
console.log(currentVersion);
// => 1.0.4
})
Related
- curver-cli : CLI Tool for curver.
License
MIT © Rishi Giri