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

https://github.com/passy/latest-npm-version

Get the latest version of a package on npm
https://github.com/passy/latest-npm-version

Last synced: about 1 year ago
JSON representation

Get the latest version of a package on npm

Awesome Lists containing this project

README

          

# latest-npm-version [![Build Status](https://travis-ci.org/passy/latest-npm-version.svg?branch=master)](https://travis-ci.org/passy/latest-npm-version) [![Latest Version](https://img.shields.io/hackage/v/latest-npm-version.svg)](https://hackage.haskell.org/package/latest-npm-version)

Trying to understand Lenses and Pipes by "porting" @sindresorhus'
[latest-version](https://github.com/sindresorhus/latest-version/).

## Install

```
> cabal install latest-npm-version
> latest-npm-version yo
yo 1.2.0
```

Now get yourself a nice hot cup of tea, take a bath, file your tax return and if
you're lucky cabal will be finished by then.

## Dev

```
> stack setup
> stack build
> stack test
> stack exec latest-npm-version yo
1.4.7
```