Express-GitHub

Express middleware for GitHub API v3

NPM Dependency

NPM

Sponsor

Feature

  1. OAuth 2.0 (Production Environment can be used for debugging of localhost)

  2. API Proxy (HTTP-only Cookie Session instead of Access Token is easy to use for Web front-end)

  3. Wrapper APIs to get the Technique(Language) list of a User or Organization

  4. Diff to HTML (Get /repos/:owner/:repo/pull/:pull_num.diff with Accept: text/html, the Diff Code will be converted to HTML by diff2html)

  5. One Hook URL to receive all kinds of Event

  6. 3 APIs of Server-sent events about Organization & Repository

Usage