latest-npm-version-0.2.1: Find the latest version of a package on npm

Copyright(c) Pascal Hartig, 2014
LicenseMIT
Maintainerphartig@rdrei.net
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Npm.Latest

Description

This is just an experiment of me porting a node module to Haskell and learning about Lenses and Pipes along the way. Use on your own risk.

Synopsis

Documentation

fetchLatestVersion :: String -> IO (Maybe Text) Source

Fetch the latest version for the given module name.

extractVersion :: AsValue s => Maybe (Either t s) -> Maybe Text Source