http-extractor
v0.1.8
Published
The best module ever.
Downloads
5
Readme
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 = require('http-extractor');
var extractor = httpExtractor('http://remote-source.com');
extractor.extract();
or
var httpExtractor = require('http-extractor');
var options = {
url: 'http://remote-source.com',
extractionPath: 'path.to.destination.object'
}
var extractor = httpExtractor(options);
extractor.extract();
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