1.0.2 • Published 8 years ago

lyrics-fetcher v1.0.2

Weekly downloads
16
License
MIT
Repository
github
Last release
8 years ago

Lyrics-fetcher

Lyrics-fetcher is a simple interface that provides lyrics from http://makeitpersonal.co/ directly into your js file or terminal.

Instalation

$ sudo npm install -g lyrics-fetcher

Usage

Directly from the terminal

$ lyr 'Sting' 'Shape of my heart'

Javascript file

var lyr = require('lyrics-fetcher');

lyr.fetch('Sting', 'Shape of my heart', function (err, lyrics) {
    console.log(err || lyrics);
});

Methods

fetch (artist, song, callback)

  • artist: String representing the name of the artist.
  • song: String representing the name of the song.
  • callback: the callback function.

Test

$ npm test

Changelog

  • 0.0.1
    • First release
  • 0.0.0
    • First working version

License

See the LICENSE file.