Installation

The API is available to run CRUD operations on Tegon.

Usage

import { configure, createIssue } from "@tegonhq/sdk";

configure({
  // this is the default and if the `TEGON_TOKEN` environment variable is set, can omit calling configure
  token: <token>>,
});

async function main() {
  const runs = await createIssue({
    title: "Issue title",
    description: "Issue description",
  });
}

main().catch(console.error);