Skip to content

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

Package listing

@kody/vercel

src/list-teams.js

13 lines · 503 B · JavaScript
import { listTeams } from './vercel.js'

/**
 * List teams the authenticated token can see.
 * @param {Object} [input] Optional query filters (`limit`, `since`, `until`).
 * @returns {Promise<{ items: Array<{ id: string, name: string, slug: string }>, pagination: object | null }>}
 * @example
 * import listTeams from 'kody:@kody/vercel/list-teams'
 * const { items } = await listTeams({ limit: 20 })
 */
export default async function listTeamsEntrypoint(input = {}) {
	return await listTeams(input)
}