UNPKG

youtube-video-id

Version:

Extracts the YouTube video ID from a URL or string.

8 lines 220 B
/** * Get the YouTube video ID from a URL or string. * * @param url - The URL or string. * @returns - The video ID. */ export default function YouTubeVideoId(url: string): string; //# sourceMappingURL=index.d.ts.map