Check the Literal TypeScript Client on NPM for the documentation.

npm i @literalai/client

Instantiation

import { LiteralClient } from "@literalai/client";

const client = new LiteralClient(process.env["LITERAL_API_KEY"]);