lazy-axios
Creates bunch of axios-throttled instances
Parameters
configs
Object dict of configs for axios-throttled
Examples
const LazyAxios = ;;const paths = from_string: query: 'https://yahoo.com/' from_object: query: url: 'https://google.com/' expand1: query: 'https://{host}/{path}' expand2: query: 'https://[[host]]/[[path]]' expand3: query: 'https://[[host]]/[[path]]' placemarks: '[[' ']]' till_3000: query: 'query: 'https://yahoo.com/', ; const lazy_axios = paths;// query urlconst additionalParams = params: q: 'cats'await lazy_axiosfrom_string; // query as objectawait lazy_axios'from_object'; // Using placeholders with default placemarksawait lazy_axios; // Using placeholders and custom placemarksawait lazy_axios // Using placeholders and preseted custom placemarksawait lazy_axios // Block requests until year 3000lazy_axiostill_3000 Date > '3000/01/01'await lazy_axios