# Octokit

The all-batteries-included GitHub SDK for Browsers, Node.js, and Deno.

Repository: https://github.com/octokit/octokit.js
Canonical: https://ross.abutalabs.com/products/octokit
Language: TypeScript
License: MIT
License Family: permissive
Topics: github, javascript, sdk, octokit-js, octokit, hacktoberfest
Last push: 2026-08-26T18:33:49+00:00

## Health v2 (maintenance only)
Score: 83/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 54, longevity 100
- inputs: {"age_days": 5929, "days_push": 7, "days_rel": 307, "gap_med": 9.0, "n_releases_24m": 13}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7837, forks 1270 (observed 2026-08-28T04:10:05.987221+00:00)

## What it is
Octokit is the official, batteries-included JavaScript/TypeScript SDK for the GitHub platform APIs, integrating REST API client, GraphQL queries, authentication, GitHub App/webhook/OAuth handling, and a pre-authenticated Actions client. It works in browsers, Node.js, and Deno, with full TypeScript types, plugin extensibility, and built-in best practices like pagination.

## Use cases
- call the GitHub REST API from Node.js
- query the GitHub GraphQL API with pagination
- build a GitHub App with webhook handling
- authenticate GitHub API requests with tokens or OAuth
- automate repository management scripts
- use GitHub API inside GitHub Actions workflows
- fetch GitHub data in a browser app

## When to choose
- you need comprehensive, typed access to GitHub's REST or GraphQL APIs in JavaScript/TypeScript
- you are building a GitHub App or OAuth flow
- you want a maintained official SDK with plugin support across Node, Deno, and browsers

## When to avoid
- you work in a non-JavaScript language (use Octokit libraries for other languages instead)
- you only need a single raw HTTP request and want zero dependencies
- you need an API client for platforms other than GitHub

## Facets
- artifact type: library
- maturity: stable
- function: http-client, graphql-client, auth, sdk, webhook
- domain: apis, developer-tools, web-development
- platform: browser, cross-platform
- tags: github-api, rest-api, octokit, typescript, github-apps, oauth, pagination, automation, nodejs, deno

## Member repositories
- octokit/octokit.js (main) score 83
- octokit/core.js (sdk) score 92

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:05.987221+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:33:58.310983+00:00, confidence not recorded.
  - readme: https://github.com/octokit/octokit.js (fetched 2026-08-28T04:10:05.987221+00:00, sha 8b5c734258c9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
