lyrics-fetcher

1.0.2 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i lyrics-fetcher

Weekly Downloads

8

Version

1.0.2

License

MIT

Last publish

Collaborators

  • radubogdan