{"repo":"octokit/plugin-rest-endpoint-methods.js","free":true,"listed":false,"github":"https://github.com/octokit/plugin-rest-endpoint-methods.js","clone":"git clone https://github.com/octokit/plugin-rest-endpoint-methods.js.git","description":"Octokit plugin adding one method for all of api.github.com REST API endpoints","language":"TypeScript","stars":135,"topics":["octokit-js","plugin","rest-api","hacktoberfest"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"plugin-rest-endpoint-methods.js Octokit plugin adding one method for all of api.github.com REST API endpoints Usage Browsers Load @octokit/plugin-rest-endpoint-methods and @octokit/core (or core-compatible module) directly from esm.sh Node Install with npm install @octokit/core @octokit/plugin-rest-endpoint-methods . Optionally replace @octokit/core with a compatible module There is one method for each REST API endpoint documented at https://developer.github.com/v3. All endpoint methods are documented in the docs/ folder, e.g. docs/users/getAuthenticated.md TypeScript [!IMPORTANT] As we use conditional exports, you will need to adapt your tsconfig.json by setting \"moduleResolution\": \"node16\", \"module\": \"node16\" . See the TypeScript docs on package.json \"exports\". See this helpful guide on transitioning to ESM from @sindresorhus Parameter and response types for all endpoint methods exported as { RestEndpointMethodTypes } . Example In order to get types beyond parameters and responses, check out @octokit/openapi-types , which is a direct transpilation from GitHub's official OpenAPI specification. Contributing See CONTRIBUTING.md License MIT","default_branch":null,"files":null,"tree":[],"storefront":"/r/octokit","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/octokit/plugin-rest-endpoint-methods.js/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}