An open API service indexing awesome lists of open source software.

https://github.com/codedotjs/curver

:arrows_counterclockwise: Easily fetch the latest version of node module.
https://github.com/codedotjs/curver

Last synced: 7 months ago
JSON representation

:arrows_counterclockwise: Easily fetch the latest version of node module.

Awesome Lists containing this project

README

          

# curver

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

[![Build Status](https://travis-ci.org/CodeDotJS/curver.svg?branch=master)](https://travis-ci.org/CodeDotJS/curver)

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

```js

const curver = require('curver');

curver('packstat').then(currentVersion => {
console.log(currentVersion);
// => 1.0.4
})

```
## Related

- [curver-cli](https://github.com/CodeDotJS/curver-cli) : CLI Tool for curver.

## License

MIT © [Rishi Giri](http://rishigiri.com)