Overview & Authentication
Installation
The API is available to run CRUD operations on Vantik.
- npm
- pnpm
- yarn
npm i @vantikhq/sdk@0.1.3
pnpm add @vantikhq/sdk@0.1.3
yarn add @vantikhq/sdk@0.1.3
Usage
import { configure, createIssue } from "@vantikhq/sdk";
configure({
// this is the default and if the `VANTIK_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);