0.3.1 • Published 12 days ago
gh-helpers v0.3.1
gh-helpers
Various helper methods for Github Actions/API automation
Install
npm install gh-actions
Usage
Within Github Actions, just
const github = require('gh-helpers')()
Outside example over API for repo at PrismarineJS/vec3, make sure to specify your PAT with perms to the repo
const github = require('gh-helpers')({
repo: { owner: 'PrismarineJS', name: 'vec3' }
}, GITHUB_PAT)
API
See src/index.d.ts for info on the API