JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 26
  • Score
    100M100P100Q45935F
  • License GPLv3

Github API client for Google Apps Script

Package Exports

  • gas-github

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-github
import { Client } from 'gas-github'

declare let global: any

function openIssue() {
  const client = new Client('org', 'repo','token')
  const issueNo = client.openIssue({title: 'test', body: 'body', labels: ['bug', 'documentation']})

  Logger.log(`issue created: ${issueNo}`)
}

global.openIssue = openIssue

Contribution

Welcome contributions and feedbacks!