Skip to content

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

Package listing

@kody/vercel

src/get-team.js

14 lines · 427 B · JavaScript
import { getTeam } from './vercel.js'

/**
 * Load one team by id.
 * @param {Object} input
 * @param {string} input.teamId Team id (`team_…`).
 * @returns {Promise<{ id: string, name: string, slug: string }>}
 * @example
 * import getTeam from 'kody:@kody/vercel/get-team'
 * const team = await getTeam({ teamId: 'team_123' })
 */
export default async function getTeamEntrypoint(input = {}) {
	return await getTeam(input)
}