simple-lyrics

1.0.2 • Public • Published

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!

Package Sidebar

Install

npm i simple-lyrics

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

8.8 kB

Total Files

6

Last publish

Collaborators

  • bacon1661