npm

Need private packages and team management tools?Check out npm Orgs. »

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

6

version

1.1.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability