@qiwi/repocrawler-github
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

@qiwi/repocrawler-github

GitHub crawler

Installation

yarn add @qiwi/repocrawler-github
npm i @qiwi/repocrawler-github

Usage

import { createGithubCrawler } from '@qiwi/repocrawler-github'

const crawler = createGithubCrawler(
  {
    baseUrl: 'foo',
    auth: 'token'
  },
  {
    ratelimit: {
      period: 1000,
      count: 4
    }
  }
)

crawler.fetchRepoInfo({ out: 'path/to/save/data', paths: ['src/main/ts/index.ts'], orgs: ['organization1', 'organization2'] })
  .then(() => console.log('Done.'))

API

See here

Readme

Keywords

none

Package Sidebar

Install

npm i @qiwi/repocrawler-github

Weekly Downloads

0

Version

1.1.0

License

MIT

Unpacked Size

33.1 kB

Total Files

33

Last publish

Collaborators

  • antongolub
  • qiwibot