random-issue

1.0.3 • Public • Published

Get a random GitHub issue for an organisation

Build Status dependencies Status npm version

Installation

npm i random-issue

Usage

const { randomIssue } = require("random-issue");
const token = process.env.GITHUB_TOKEN;
const org = process.env.GITHUB_ORG;
 
(async () => {
  const issue = await randomIssue(token, org);
  console.log(JSON.stringify(issue));
})();

Package Sidebar

Install

npm i random-issue

Weekly Downloads

2

Version

1.0.3

License

MIT

Unpacked Size

6.87 kB

Total Files

6

Last publish

Collaborators

  • wayneashleyberry