youtubei
Version:
Simple package to get information from youtube such as videos, playlists, channels, video information & comments, related videos, up next video, and more!
8 lines (7 loc) • 480 B
TypeScript
import { Thumbnail } from "../shared";
import { YoutubeRawData } from "./types";
export declare const getDuration: (s: string) => number;
export declare const stripToInt: (string: string) => number | null;
export declare const getContinuationFromItems: (items: YoutubeRawData, accessors?: string[]) => string | undefined;
export declare const mapFilter: (items: YoutubeRawData, key: string) => YoutubeRawData;
export declare const getThumbnailFromId: (id: string) => Thumbnail[];