Needlessly Postulating Minds
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

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

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar