1.0.1 • Published 4 years ago

azlyrics-ext v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

🤔 Whats is this?

Just a simple AZLyrics.com scraper.

💻 Installation

npm install azlyrics-ext

⚙️ Usage

const AZLyrics = require("azlyrics-ext");
import * from AZLyrics from "azlyrics-ext";

📎 Links

✏️ Examples

Searching

const songs = await AZLyrics.search("faded");

console.log(songs);

Searching and fetching lyrics

const songs = await AZLyrics.search("faded");

const { title, lyrics } = await AZLyrics.getTrack(songs[0].url);
console.log(`Lyrics of ${title}`);
console.log(lyrics);