gh-helpers
v0.3.1
Published
Various helper methods for Github Actions and API automation
Downloads
2,688
Readme
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