melody-lyrics-api
This api fetches the lyrics of a song by its artist,title and part of lyrics.
Contributors
Alen Yohannan
Usage
CommonJS
const { Lyrics } = require('melody-api')
const app = new Lyrics();
app.getLyrics('roar katy perry').then((response) => {
return console.log(response);
})
.catch((error) => {
return console.log(error);
})
ESModule || TypeScript
import Lyrics from 'melody-api'
const app = new Lyrics();
app.getLyrics('roar katy perry').then((response) => {
return console.log(response);
})
.catch((error) => {
return console.log(error);
})