npm.io
1.1.1 • Published 5 years ago

lyrics-parse

Licence
ISC
Version
1.1.1
Deps
2
Size
3 kB
Vulns
0
Weekly
0

Table of contents

About

lyrics-parse is a node.js module that is a simple, quick, and easy way to get lyrics by searching and parsing google.

Since it parses google, no api keys are required!

Installation

npm install lyrics-parse

Usage

const lyricsParse = require('lyrics-parse');

(async () => {
  const title = "Looking Out For You";
  const author = "Joy Again";
  const lyrics = await lyricsParse(title, author); 
  // Will return false if no lyrics found.
  console.log(lyrics ? lyrics : "No Lyrics Found."); 
  // If the lyrics are found, log them, otherwise log "No Lyrics Found."
})();

Keywords