Skip to content

Built for people who want to own their automations. Join the waitlist for an invite.

Package listing

@kody/vercel

src/list-projects.js

13 lines · 580 B · JavaScript
import { listProjects } from './vercel.js'

/**
 * List Vercel projects for the authenticated account or team.
 * @param {Object} [input] Optional filters (`search`, `limit`, `teamId`, `teamSlug`).
 * @returns {Promise<{ items: Array<{ id: string, name: string, framework: string | null }>, pagination: object | null }>}
 * @example
 * import listProjects from 'kody:@kody/vercel/list-projects'
 * const { items } = await listProjects({ teamSlug: 'acme', search: 'docs' })
 */
export default async function listProjectsEntrypoint(input = {}) {
	return await listProjects(input)
}