Skip to content
← Public packages

@kody/twitch

Look up Twitch users, channels, streams, and follows, with dry-run chat and channel updates.

FollowFork

Files

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)
}