rest.js

GitHub REST API client for JavaScript

Github星跟踪图

rest.js

GitHub REST API client for JavaScript

@latest
Build Status
Greenkeeper

Installation

npm install @octokit/rest

Usage

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
  });

See https://octokit.github.io/rest.js/ for full documentation.

Contributing

We would love you to contribute to @octokit/rest, pull requests are very welcome! Please see CONTRIBUTING.md for more information.

Credits

@octokit/rest was originally created as node-github in 2012 by Mike de Boer from Cloud9 IDE, Inc.

It was adopted and renamed by GitHub in 2017

LICENSE

MIT

主要指标

概览
名称与所有者octokit/rest.js
主编程语言TypeScript
编程语言TypeScript (语言数: 2)
平台
许可证MIT License
所有者活动
创建于2021-04-18 17:52:29
推送于2025-05-12 22:15:30
最后一次提交
发布数398
最新版本名称v20.1.2 (发布于 )
第一版名称v0.1 (发布于 )
用户参与
星数602
关注者数11
派生数69
提交数3.1k
已启用问题?
问题数148
打开的问题数42
拉请求数306
打开的拉请求数8
关闭的拉请求数42
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?