2.5.1 • Published 6 years ago

smurf-fetch v2.5.1

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

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

HARLoader

WebPageTestLoader

API

start

getAvailableLoaders