Vercel REST API TypeScript client: vercel-api-js

v2.24.0

Unofficial, fully typed TypeScript client for the Vercel REST API, generated from its OpenAPI spec and published to npm as vercel-api-js.

Not affiliated with or endorsed by Vercel.

Installation
npm install vercel-api-js
Authentication

Pass a Vercel access token as the token option.

Examples
import { VercelApi } from "vercel-api-js";

const client = new VercelApi({ token: process.env.VERCEL_TOKEN ?? null });

const accessGroups = await client.api.accessGroups.listAccessGroups({});
const accessGroups = await client.request("GET /v1/access-groups");
const client = new VercelApi({
  token: process.env.VERCEL_TOKEN ?? null,
  fetch: myFetchImplementation,
});