{"library":"github-api","type":"library","category":null,"description":"github-api (also known as Github.js) is a higher-level JavaScript wrapper for the GitHub API. It provides a more convenient, object-oriented interface over raw HTTP requests. The library, currently at version 3.4.0, offers dual support for both traditional callback-based APIs (as seen in versions prior to 1.0) and modern Promise-based APIs, with the latter returning raw Axios request promises for greater flexibility. Its release cadence is driven by bug fixes, new API feature implementations (like `getCombinedStatus` and `listCommitsOnPR`), and crucial security updates. It aims to abstract the complexities of direct GitHub API interactions while remaining compatible with both Node.js (LTS and current versions) and browser environments, offering a key differentiator through its flexible API consumption patterns and direct Axios promise exposure.","language":"javascript","status":"active","version":"3.4.0","tags":["javascript","github","api"],"last_verified":"Wed May 27","install":[{"cmd":"npm install github-api","imports":["import GitHub from 'github-api';","const GitHub = require('github-api');","const gh = new GitHub({ token: '...' });\nconst gist = gh.getGist();\nconst user = gh.getUser();"]},{"cmd":"yarn add github-api","imports":[]},{"cmd":"pnpm add github-api","imports":[]}],"homepage":null,"github":"https://github.com/github-tools/github","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/github-api","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/github-api/compatibility"}}