bdcs-0.2.0: Tools for managing a content store of software packages

Copyright(c) 2017 Red Hat Inc.
LicenseLGPL
Maintainerhttps://github.com/weldr
Stabilityalpha
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

BDCS.Import.NPM

Description

Functions for importing NPM packages into the database

Synopsis

Documentation

loadFromURI :: URI -> ReaderT ImportState IO () Source #

Fetch an NPM from a given URI and load it into the MDDB. This function must be run within the ReaderT monad, which should be given an ImportState record. This is how importing knows where to store the results. Errors will be printed to the screen.