Skip to content

radubogdan/node-lyrics-fetcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published