Back to home

ts-controllers/

vercel

Version: 0.2.2

Last Updated: Unknown


Vercel API Library

Usage examples

Below are examples of the usage for the different call categories.

Project

const { data } = await createProject({ name: 'vercel-example-using-token-4', gitRepository: { type: 'github', repo: 'vercel-api-github-target', }, }); console.log('@ data', data);

const { data } = await getProjects(); console.log('@ data', data);

DNS

const { data } = await addDomain({ id: projId, domain: 'testing-one.landpad.app', }); console.log('@ data', data);

const { data } = await listDomainDns({ domain: 'testing-one.landpad.app', }); console.log('@ data', data);

Install


Repository

https://github.com/okeeffed/pkg-ts-controllers-vercel

Sections