UNPKG

azlyrics-ext

Version:

Just a simple AZLyrics.com scraper.

12 lines (11 loc) 371 B
export interface GetTrackReturn { title: string; artist: string; lyrics: string; } /** * Fetches a song from AZLyrics.com * @param url AZLyrics URL of the track * @example const songs = await AZLyrics.getTrack("https://www.azlyrics.com/lyrics/alanwalker/faded.html"); */ export declare const getTrack: (url: string) => Promise<GetTrackReturn>;