Extractor module designed to extract data from a source.
Install
$ npm install http-extractor --save
Usage
The http-extractor is a module designed to work with the chrysalis framework - [https://github.com/APPrise-Mobile/chrysalis]. It is tasked with fetching data from a remote source.
var httpExtractor = ; var extractor = ;extractor;
or
var httpExtractor = ; var options = url: 'http://remote-source.com' extractionPath: 'path.to.destination.object'var extractor = ;extractor;
if 'extractionPath' is set in the options, then the extractor will return a deep object GET on the path supplied.
API
- extractor.extract() - Run the extraction process.
License
MIT © APPrise-Mobile