nuǝW pǝuoᴉʇᴉsoԀ ʎlǝʌᴉʇɐƃǝN

    request-generator

    1.1.2 • Public • Published

    request-generator

    Create generator functions that yield chunks of data from API endpoints.

    const requestGenerator = require('request-generator')
     
    const gen = requestGenerator({
     request: 'google.com', 
     stream: 'item.*', 
     transform: (data) => {}, 
     done: (err, req) => {}
    })
     

    Install

    npm i --save request-generator
    
    yarn add request-generator
    

    How to use

    ToDo

    • throttling of requests / sec for weak APIs (those moves are weak babe)

    Install

    npm i request-generator

    DownloadsWeekly Downloads

    5

    Version

    1.1.2

    License

    MIT

    Last publish

    Collaborators

    • vigour-io