smurf-fetch ===


License
ISC
Install
npm install smurf-fetch@2.1.2

Documentation

smurf-fetch

CircleCI

Example Config

default.json

Usage

First create a new instance of smurf-fetch. If you want a custom configuration, create a new one based on the example config and pass it as CONFIG. Smurf fetch required

let smurfFetch = new SmurfFetch(SETTINGS, CONFIG);
return smurfFetch.start(url, loaders)

Settings

smurf-fetch required some settings in order to work and use all given loaders. webPageTestApiKey is required when you want to use webPageTestmodule. chunkSize defines how many loaders will be started in parallel. Depending on the machine this will require a lot of resources.

{
    webPageTestApiKey: KEY,
    chunkSize: 3
}

Config