UNPKG
clabot-fix
Version:
latest (0.1.6)
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
A bot to take the pain out of Contributor License Agreements
github.com/clabot/clabot
clabot/clabot
clabot-fix
/
src
/
lib
/
test.js
12 lines
(11 loc)
•
283 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
const
{
Octokit
} =
require
(
"@octokit/rest"
);
const
octokit =
new
Octokit
();
// Compare: https://developer.github.com/v3/repos/#list-organization-repositories
octokit.
repos
.
listForOrg
({
org
:
"octokit"
,
type
:
"public"
, }) .
then
(
(
{ data }
) =>
{
// handle data
});