node-lyrics-api

1.0.1 • Public • Published

node-lyrics-api

Grab lyrics for any song.

Simply a wrapper around the api located here, so visit there for more information on the API itself.

This is a simple API to work with.

const lyrics = require('node-lyrics-api');
 
let ourSong = await lyrics('our song');
 
if(ourSong.status.failed) return console.log('Bad Response');
 
// show our data
 
console.log(ourSong.content[0].lyrics);
 
// or
 
lyrics('our song').then(l => console.log(l.content[0].lyrics));

Readme

Keywords

Package Sidebar

Install

npm i node-lyrics-api

Weekly Downloads

8

Version

1.0.1

License

MIT

Unpacked Size

3.47 kB

Total Files

4

Last publish

Collaborators

  • canarado