1.0.0 • Published 5 years ago

rollodeqc-gh-bookworm v1.0.0

Weekly downloads
1
License
AGPL-3.0
Repository
github
Last release
5 years ago

rollodeqc-gh-bookworm

Build Status Coverage Status Dependency Status

Rate limited HTTP query iterator.

Install

$ npm install --save rollodeqc-gh-bookworm

Usage

const rollodeqcGhBookworm = require('rollodeqc-gh-bookworm');

rollodeqcGhBookworm('unicorns', ghGot);
//=> (yet unspecified)

API

rollodeqcGhBookworm(query, fetcher, methods)

Run fetcher(query) in a loop until done. Returns a promise.

query

Type: string|object

string values can represent a search query or a complete GitHub API URL (beginning with http:// or https://). Otherwise see the tests and source code if query is an object.

fetcher

Function to use to fetch information from GitHub. Must return a promise.

methods

wait

Lorem ipsum...

nextLink

Lorem ipsum...

getItems

Lorem ipsum...

updateItems

Lorem ipsum...

Dependencies

  • lodash.defaults
  • rollodeqc-gh-utils

License

AGPL-v3 © Robin Millette