Neatly Punctuated Musings
Have opinions about JavaScript? We want to hear them. Take the 2018 JavaScript Ecosystem Survey »

curver

1.0.3 • Public • Published

curver

Easily fetch the latest version of node module available on npm.

Build Status

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

License

MIT © Rishi Giri

install

npm i curver

Downloadsweekly downloads

8

version

1.0.3

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability