1.1.4 • Published 3 years ago

@allvaa/get-lyrics v1.1.4

Weekly downloads
16
License
MIT
Repository
github
Last release
3 years ago

@allvaa/get-lyrics

Scrape lyrics of given song title from Genius.

Install

# npm
npm i @allvaa/get-lyrics

# yarn 
yarn add @allvaa/get-lyrics

Using

const song = require("@allvaa/get-lyrics");

(async () => {
    const result = await song("title here");
    console.log(result); // returns Song object
})();

Song object

interface Song {
    title: string; // song title
    image: string; // song image
    geniusUrl: string; // lyrics url from Genius
    lyrics: string; // scraped lyrics
}
1.1.4

3 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago