Skip to content

Every analytics tool wants a subscription. And your data. I built Twiligent instead. YouTube stats. Instagram stats. One dashboard. Runs locally on your machine.

309 B
Raw Blame
import { requiredString } from './fields.ts';
import type { Fields } from './fields.ts';

export interface ChannelInput {
    input: string;
}

export function parseChannelInput(body: Fields): ChannelInput {
    return { input: requiredString(body, 'input', 'Enter a channel URL, @handle or channel ID') };
}