@mktcodelib/good-first-web3-issues
v0.10.0
Published
Utility to fetch all nodes in a paginated graphql query.
Readme
Good First Web3 Issues
npm i @mktcodelib/good-first-web3-issuesimport { GoodFirstWeb3Issues } from '@mktcodelib/good-first-web3-issues'
const githubToken = "..."
const gfw3i = new GoodFirstWeb3Issues({ githubToken })
gfw3i.run()Options
| Option | Description | Type |
| ------ | ----------- | ---- |
| githubToken | A personal access token to query GitHub's GraphQL API. | string |
| port | The port at which the express server serves the data. | number |
| redisConfig | Configuration options passed to Redis. | object |
| syncInterval | Fetch data for the next org from the whitelist at this interval. | number \| undefined |
| debug | Enable debug logs. | boolean \| undefined |
