1.0.15 • Published 1 year ago

fetch-lyrics v1.0.15

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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.

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago