Skip to content

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

Package listing

@kody/twitch

src/list-follows.ts

14 lines · 521 B · TypeScript
import { listFollows } from './client.ts'

/**
 * List channels the authenticated user follows (Helix GET /channels/followed).
 * Requires user:read:follows. Pass broadcasterLogin to check one follow.
 *
 * @example
 * import listFollows from 'kody:@kody/twitch/list-follows'
 * const result = await listFollows({ limit: 20 })
 * // => { userLogin: '...', total: 12, follows: [...], cursor: '...' }
 */
export default async function twitchListFollows(params: Record<string, unknown> = {}) {
	return listFollows(params)
}