Socket
Socket
Sign inDemoInstall

lyrics-searcher

Package Overview
Dependencies
29
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    lyrics-searcher

A Simple Lyrics Finder That Just Works


Version published
Weekly downloads
24
decreased by-66.2%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Welcome to lyrics-searcher 👋

Version Documentation Maintenance License: MIT

A Simple Lyrics Finder That Just Works

Programmatic usage:

Installation

npm install --save lyrics-searcher

Usage

import lyricsSearcher from "lyrics-searcher";

lyricsSearcher("poets of fall", "carnival of rust")
  .then((lyrics) => {
    console.log(lyrics);
  })
  .catch((error) => {
    console.error(error);
  });

Command line usage:

Using without installation

npx lyrics-searcher "a r rahman" "kun faya kun"

Note: Use this method only if you plan to use lyrics-searcher for one time, installing lyrics-searcher globally (see-below) is recommended for multiple time usages.

Installation

npm install lyrics-searcher -g

Note for Linux & MacOS users: DO NOT use sudo to install global packages! The correct way is to tell npm where to install its global packages: npm config set prefix ~/.local. Make sure ~/.local/bin is added to PATH.

Usage after installation

lyrics-searcher "prateek kuhad" "cold mess"

Screenshot

all-i-want-kodaline.png

API

For CLI usage, see the help option:

npx lyrics-searcher --help

For programmatic usage, use the default exported module. It takes two arguments. Artist name and Song name. It returns a promise which resolves into a string containing the lyrics if found, otherwise it will throw an exception (with an error message).

Author

👤 Rahil Kabani

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.

Show your support

Give a ⭐️ if this project helped you!

Lyrics-searcher

📝 License

Copyright © 2021 Rahil Kabani.
This project is MIT licensed.

Keywords

FAQs

Last updated on 31 Aug 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