4.4.7 • Published 1 month ago
genius-lyrics v4.4.7
🤔 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 month ago
4.4.5
8 months ago
4.4.4
8 months ago
4.4.6
8 months ago
4.4.3
1 year ago
4.4.1
1 year ago
4.4.2
1 year ago
4.4.0
2 years ago
4.3.8
2 years ago
4.3.7
2 years ago
4.3.6
2 years ago
4.3.5
2 years ago
4.3.2
3 years ago
4.3.4
3 years ago
4.3.3
3 years ago
4.3.1
3 years ago
4.3.0
3 years ago
4.2.9
3 years ago
4.2.7
3 years ago
4.2.6
3 years ago
4.2.3
3 years ago
4.2.2
3 years ago
4.2.5
3 years ago
4.2.4
3 years ago
4.2.1
3 years ago
4.2.0
3 years ago
4.1.4
3 years ago
4.1.3
3 years ago
4.1.2
3 years ago
4.1.1
3 years ago
4.1.0
3 years ago
4.0.0
4 years ago
3.0.0
4 years ago
2.0.1
4 years ago
2.0.0
4 years ago
1.0.9
4 years ago
1.0.8
4 years ago
1.0.7
4 years ago
1.0.6
4 years ago
1.0.5
4 years ago
1.0.2
4 years ago
1.0.4
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago