1.0.2 • Published 4 years ago

simple-lyrics v1.0.2

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

simple-lyrics

Searches and retrieves lyrics from azlyrics.com

Installation

npm i simple-lyrics

Usage

It's simple:

const getLyrics = require("simple-lyrics");

(async () => await getLyrics("shape of an L on her forehead"))(); // You could also just search by title.

This will return:

{
  lyrics: 'Somebody once told me the world is gonna roll me...',
  title: 'All Star',
  artist: 'Smash Mouth',
  url: 'https://www.azlyrics.com/lyrics/smashmouth/allstar.html'
}

That's it!