octokit-next
v1.2.1
Published
Experimental Octokit SDK for exploration only - DO NOT USE 🚫⚠️
Downloads
184
Readme
octokit-next.js
Experimental Octokit SDK for exploration only - DO NOT USE 🚫⚠️
We use this repository to implement new features without the legacy of the current Octokit
implementation.
Currently working on:
- [ ] octokit/octokit.js#2127 - Separate types from code and make types composable/extendable
- [ ] octokit/octokit.js#2128 - Transition to native ES Modules + TypeScript declaration files
Usage
⚠️ This is an experimental SDK not meant for actual usage.
import { Octokit } from "octokit-next";
const octokit = new Octokit();
const { data } = await octokit.request("GET /repos/{owner}/{repo}", {
owner: "octokit",
repo: "octokit-next.js",
});
console.log(data);