lyrics-searcher
TypeScript icon, indicating that this package has built-in type declarations

1.0.58 • Public • Published

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.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.5812latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.5812
1.0.570
1.0.560
1.0.550
1.0.540
1.0.530
1.0.470
1.0.460
1.0.420
1.0.413
1.0.400
1.0.380
1.0.370
1.0.350
1.0.340
1.0.330
1.0.320
1.0.310
1.0.300
1.0.290
1.0.280
1.0.270
1.0.260
1.0.250
1.0.240
1.0.230
1.0.220
1.0.200
1.0.190
1.0.180
1.0.170
1.0.160
1.0.150
1.0.140
1.0.130
1.0.110
1.0.100
1.0.90
1.0.80
1.0.70
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 lyrics-searcher

Weekly Downloads

15

Version

1.0.58

License

MIT

Unpacked Size

19.7 kB

Total Files

7

Last publish

Collaborators

  • alias-rahil