simple-get-lyrics

0.0.4 • Public • Published

simple-get-lyrics - Get lyrics in your apps

simple-get-lyrics allows you to get lyrics from a song in your app.

How to install

npm install simple-get-lyrics --save

How to use

Simple code : search('Artist name', 'Song name')

Full code :

include * as lyrics from 'simple-get-lyrics'
 
lyrics.search('Hindi Zahra', 'Fascination')
/**
 * This will return a Promise which will resolve in :
 * "One of these days you know [...]"
 * /

the response object will be with the following format :

{
    lyrics, // Contains the lyrics in a text format
    provider, // Contains an identifier of the source
    url // Contains a link to the lyrics
}

Why

I tried a couple of packages before creating this one. Most were outdated. Some needed API keys or iTunes user names. Some other were doing 10 other things that I did not need. So here it is, it just gets some lyrics, with some fallback capabilities.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.4
    6
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.4
    6
  • 0.0.3
    0
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i simple-get-lyrics

Weekly Downloads

6

Version

0.0.4

License

MIT

Unpacked Size

9.88 kB

Total Files

6

Last publish

Collaborators

  • trekiteasy