octokit/octokit.js

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

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 35 minutes ago
Added to GitGenius on August 8th, 2026
Created on June 9th, 2010
Open Issues & Pull Requests: 54 (+0)
Number of forks: 1,265
Total Stargazers: 7,827 (+0)
Total Subscribers: 178 (+0)

Issue Activity (beta)

Open issues: 29
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 852 days
Stale 30+ days: 28
Stale 90+ days: 26

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • Status: Triage (39)
  • Type: Bug (38)
  • Status: Up for grabs (13)
  • Type: Documentation (12)
  • Type: Feature (10)
  • Type: Support (10)
  • Status: Invalid/Incomplete (6)
  • typescript (5)

Most active issues this week

No issue events were indexed in the last 7 days.

Repository Insights (GitGenius)

Median issue/PR response: N/A
Mean response time: 0.2 hours
90th percentile: 0.0 hours
Tracked items: 93

Most active contributors

Detailed Description

Octokit.js is a comprehensive GitHub SDK designed to work across Browsers, Node.js, and Deno environments. Written in TypeScript, it serves as an all-batteries-included solution that integrates three main Octokit libraries: an API client for REST API requests and GraphQL queries with authentication support, an App client for GitHub App management and webhooks, and an Action client that provides pre-authenticated API access for single repository operations.

The repository demonstrates exceptional responsiveness to community engagement, with a median issue and pull request response latency of 0.0 hours and a mean of 0.2 hours across 93 tracked items. This rapid response time reflects active project maintenance and community support. The most frequently applied issue labels are Status: Triage with 39 occurrences, Type: Bug with 38 occurrences, and Status: Up for grabs with 13 occurrences, indicating a well-organized triage process and active community contribution opportunities. The project's core contributors include wolfy1339 with 192 tracked events, gr2m with 95 events, and kfcampbell with 27 events, demonstrating sustained engagement from key maintainers.

The SDK's feature set emphasizes completeness, with all GitHub platform API features covered. It implements prescriptive best practices throughout and maintains 100 percent test coverage across all libraries. The codebase includes extensive TypeScript declarations for full type safety. A key architectural advantage is its decomposability, allowing developers to use only the code they need or build custom Octokit implementations in just a few lines of code, providing flexibility in balancing functionality against bundle size requirements.

Authentication is handled through multiple strategies, with token-based authentication as the default via the @octokit/auth-token module. The SDK supports various GitHub authentication methods including personal access tokens, GitHub App installations, and OAuth flows. Constructor options allow customization of user agents, authentication strategies, base URLs for GitHub Enterprise Server compatibility, and advanced features like request timeouts and timezone settings.

The REST API implementation offers two approaches: convenient octokit.rest endpoint methods for better code readability and the lower-level octokit.request method for direct control. Both methods transparently handle authentication, retries, and throttling. The SDK implements request throttling through @octokit/plugin-throttling with automatic retry logic via @octokit/plugin-retry, with options to customize or disable these features. Proxy server support is available for Node.js environments through custom HTTPS agents.

GraphQL API support is included alongside REST API capabilities, with pagination and schema preview functionality. The SDK requires Node 18 or higher due to its reliance on native fetch APIs, though custom fetch implementations can be provided for alternative environments.

The repository's cross-platform compatibility and integration with major projects like Microsoft VSCode, Microsoft TypeScript, and Rust-lang Rust through overlapping contributors demonstrates its significance in the development ecosystem. The project maintains active community engagement through Hacktoberfest participation and clear labeling of issues available for community contributions, making it accessible to developers of varying experience levels.

octokit.js
by
octokitoctokit/octokit.js

Repository Details

Fetching additional details & charts...