4.4.7 • Published 1 year ago

genius-lyrics v4.4.7

Weekly downloads
1,121
License
MIT
Repository
github
Last release
1 year ago

npm npm npm Documentation

🤔 Whats is this?

Just a simple lyrics fetcher that uses Genius. This also has official API implementations.

💻 Installation

npm install genius-lyrics

⚙️ Usage

const Genius = require("genius-lyrics");
const Client = new Genius.Client("top-secret-optional-key");

📎 Links

✏️ Examples

Requiring

JavaScript

const Genius = require("genius-lyrics");
const Client = new Genius.Client("top-secret-optional-key"); // Scrapes if no key is provided

TypeScript

import Genius from "genius-lyrics";
const Client = new Genius.Client("top-secret-optional-key"); // Scrapes if no key is provided

Fetching a Song and Lyrics

const searches = await Client.songs.search("faded");

// Pick first one
const firstSong = searches[0];
console.log("About the Song:\n", firstSong, "\n");

// Ok lets get the lyrics
const lyrics = await firstSong.lyrics();
console.log("Lyrics of the Song:\n", lyrics, "\n");

Fetching an Artist

const artist = await Client.artists.get(456537);
console.log("About the Artist:\n", artist, "\n");
4.4.7

1 year ago

4.4.5

2 years ago

4.4.4

2 years ago

4.4.6

2 years ago

4.4.3

2 years ago

4.4.1

3 years ago

4.4.2

3 years ago

4.4.0

3 years ago

4.3.8

3 years ago

4.3.7

3 years ago

4.3.6

3 years ago

4.3.5

4 years ago

4.3.2

4 years ago

4.3.4

4 years ago

4.3.3

4 years ago

4.3.1

4 years ago

4.3.0

4 years ago

4.2.9

4 years ago

4.2.7

4 years ago

4.2.6

4 years ago

4.2.3

4 years ago

4.2.2

4 years ago

4.2.5

4 years ago

4.2.4

4 years ago

4.2.1

4 years ago

4.2.0

5 years ago

4.1.4

5 years ago

4.1.3

5 years ago

4.1.2

5 years ago

4.1.1

5 years ago

4.1.0

5 years ago

4.0.0

5 years ago

3.0.0

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.2

6 years ago

1.0.4

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago