fetch-lyrics

1.0.15 • Public • Published

Fetch Lyrics

Easily fetch song lyrics from azlyrics.com!

Installation

You can install the package via npm:

npm install fetch-lyrics

Usage

const { fetchLyrics } = require('fetch-lyrics');

// Example 1: Get lyrics for a specific song
fetchLyrics('Bohemian Rhapsody').then((lyrics) => {
    console.log(lyrics);
  // {
  //   title: '"Bohemian Rhapsody"  - Queen',
  //   lyrics: 'Is this the real life?\n' +
  //     'Is this just fantasy?\n' +
  //     'Caught in a landslide\n' +
  //     'No escape from reality\n' +
  //     ...
  // }
}).catch((error) => {
  console.error(error);
});

License

This project is licensed under the MIT License - see the LICENSE file for details.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.1528latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.1528
1.0.140
1.0.130
1.0.110
1.0.100
1.0.90
1.0.80
1.0.72
1.0.60
1.0.50
1.0.40
1.0.30
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i fetch-lyrics

Weekly Downloads

17

Version

1.0.15

License

MIT

Unpacked Size

7.08 kB

Total Files

4

Last publish

Collaborators

  • susudeepa