@januswel/gie
v0.1.3
Published
Export issues from Github repository
Downloads
2
Readme
gie
Github issues exporter
Getting Started
npm install @januswel/gie
For authentication, an environment variable "TOKEN" is used.
export TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Usage
import { Issue } from '@januswel/gie'
const owner = 'januswel'
const repo = 'gie'
Issue.getAll(owner, repo).then(issues => {
console.log(issues)
})
CLI
TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx npx @januswel/gie issues januswel gie
in CSV
TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx npx @januswel/gie issues januswel gie --csv