Socket
Socket
Sign inDemoInstall

findthelyrics

Package Overview
Dependencies
44
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    findthelyrics

Find the lyrics of any given song using the power of scraping!


Version published
Weekly downloads
11
increased by266.67%
Maintainers
1
Install size
6.94 MB
Created
Weekly downloads
 

Readme

Source

findthelyrics

NPM package to find lyrics to any given song.

NPMJS Package | Github Repo

Disclaimer

Although the code is not licensed, the lyrics are highly likely to be licensed by the respective record label.

To programically check the record label of the song, use Discogs API.

I take no responsibility for the actions used with the code.

How is it done?

It scrapes Genius to find the lyrics.

If the scraper fails on Genius, it falls back to MusixMatch.

Sample Code

This code gets the lyrics of I Just Wanna Shine by Fitz and The Tantrums.

const ftl = require("findthelyrics");

var q = "Fitz and The Tantrums I Just Wanna Shine";

ftl.find(q ,function(err, resp) {
    if (!err) {
        console.log(resp)
    } else {
        console.log(err)
    }
    // [Chorus]
    // I just wanna shine like the sun when it comes up
    // Run the city from the rooftops
    // 'Cause today’s gonna be my day
    // I just wanna climb to the top of a mountain
    // Standing tall when I'm howlin'
    // ...
});

Keywords

FAQs

Last updated on 17 May 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc