eazy-lyrics
v1.0.1
Published
A simple web scraper to get lyrics from azlyrics.com
Downloads
10
Maintainers
Readme
Description
eazy-lyrics
is a Node.js library that allows you to fetch lyrics of a song by its title and artist from the az-lyrics website. This library uses web scraping to fetch the lyrics from the website. with nothing but axios.
Installation
You can install eazy-lyrics
using npm:
npm install eazy-lyrics
Usage
const LyricsAI = require('eazy-lyrics');
// Specify the song title and artist
const songTitle = "Kendrick Lamar";
const artist = "Humble";
// Fetch lyrics by song title and artist
const lyrics = fetchLyrics(songTitle, artist);
console.log(lyrics);
Running this example will log the lyrics of Humble by Kendrick Lamar to the console.
Author
This library is authored by Aloysius Faustim.
License
This project is licensed under the MIT License - see the LICENSE file for details.