rest.js

GitHub REST API client for JavaScript

Github stars Tracking Chart

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

Main metrics

Overview
Name With Owneroctokit/rest.js
Primary LanguageTypeScript
Program languageTypeScript (Language Count: 2)
Platform
License:MIT License
所有者活动
Created At2021-04-18 17:52:29
Pushed At2025-05-12 22:15:30
Last Commit At
Release Count398
Last Release Namev20.1.2 (Posted on )
First Release Namev0.1 (Posted on )
用户参与
Stargazers Count602
Watchers Count11
Fork Count69
Commits Count3.1k
Has Issues Enabled
Issues Count148
Issue Open Count42
Pull Requests Count306
Pull Requests Open Count8
Pull Requests Close Count42
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private