New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

gas-zenhub

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gas-zenhub

ZenHub API client for Google Apps Script

latest
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

ZenHub API client for Google Apps Script

Usage

$npm install gas-zenhub
# or
$yarn add gas-zenhub

:hammer_and_wrench: This is useful with gas-github!

import { Client as GitHubClient } from 'gas-github'
import { Client as ZenHubClient } from 'gas-zenhub'

function openIssue() {
  const githubClient = new GitHubClient('org', 'repo', 'token')
  const zenhubClient = new ZenHubClient('workspace', 123456789, 'token')

  // open issue
  const issueNo = githubClient.openIssue({title: 'gas-github-test', body: 'bodybody\nbodybodybody', labels: ['bug', 'documentation']})

  // set estimate
  zenhubClient.setEstimate(issueNo, 5)

  // set epic issue
  zenhubClient.setEpic(1, issueNo)

  // move pipeline
  const pipelines = zenhubClient.fetchPipelines()
  zenhubClient.movePipelineTo(issueNo, pipelines.get('Backlog'))
}

Contribution

Welcome contributions and feedbacks!

Keywords

gas

FAQs

Package last updated on 28 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts