Package Exports
- gas-github
- gas-github/lib/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gas-github) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
GitHub API client for Google Apps Script
Usage
$npm install gas-github
# or
$yarn add gas-githubimport { Client } from 'gas-github'
declare let global: any
function createIssue() {
const client = new Client('org', 'repo','token')
const issueNo = client.createIssue({title: 'test', body: 'body', labels: ['bug', 'documentation']})
Logger.log(`issue created: ${issueNo}`)
}
global.createIssue = createIssueContribution
Welcome contributions and feedbacks!