Skip to content
GitHub REST API client for JavaScript
JavaScript TypeScript
Branch: master
Clone or download

Latest commit

dependabot build(deps-dev): bump fetch-mock from 9.9.0 to 9.9.1
Bumps [fetch-mock](https://github.com/wheresrhys/fetch-mock) from 9.9.0 to 9.9.1.
- [Release notes](https://github.com/wheresrhys/fetch-mock/releases)
- [Commits](wheresrhys/fetch-mock@v9.9.0...v9.9.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Latest commit aaee4fb May 22, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github ci: replace Greenkeeper with Dependabot (#1717) May 20, 2020
assets docs(HOW_IT_WORKS): initial version Jan 17, 2018
docs docs: remove duplicate search results, search style fixes (#1693) May 1, 2020
src feat(typescript): `import { RestEndpointMethodTypes } from "@octokit/… Apr 20, 2020
test feat(typescript): set types for parameters and results/responses auto… Apr 24, 2020
.gitignore test: remove mocha and nyc Feb 20, 2020
CODE_OF_CONDUCT.md chore(Code of Conduct): contributor covenant (#603) Oct 17, 2017
CONTRIBUTING.md test: remove mocha and nyc Feb 20, 2020
HOW_IT_WORKS.md docs(HOW_IT_WORKS): adapt content for v17 Apr 23, 2020
LICENSE docs(LICENSE): 2018 Feb 10, 2018
README.md ci: replace Greenkeeper with Dependabot (#1717) May 20, 2020
cypress.json ci(cypress): rename configuration for cypress v3 Jun 1, 2018
greenkeeper.json ci(greenkeeper): remove obsolete package.json path from configuration Feb 21, 2020
package-lock.json build(deps-dev): bump fetch-mock from 9.9.0 to 9.9.1 May 22, 2020
package.json build(deps-dev): bump @pika/plugin-build-web from 0.8.3 to 0.9.2 (#1719) May 20, 2020
tsconfig.json build(tsconfig): configuration for pika Feb 20, 2020

README.md

rest.js

GitHub REST API client for JavaScript

@latest Build Status

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

You can’t perform that action at this time.