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.
- Host: GitHub
- URL: https://github.com/codedotjs/curver
- Owner: CodeDotJS
- License: mit
- Created: 2016-05-11T15:55:51.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-06-25T20:22:18.000Z (over 9 years ago)
- Last Synced: 2025-03-20T00:41:16.455Z (8 months ago)
- Language: JavaScript
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# curver
> Easily fetch the latest version of node module available on npm.
[](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)