lyricfind
v2.0.1
Published
A helper package to get lyrics of any song by scraping google and gaana.com
Downloads
12
Readme
Lyricfind
Find lyrics of any song on the go...
Installation
Install lyricfind with npm
npm install lyricfind
using yarn
yarn add lyricfind
Usage/Examples
const LyricFind = require('lyricfind');
const MyFunc = async (query) => {
const lyrics = await LyricFind.getLyrics(query);
console.log(lyrics);
};
MyFunc("yaad piya ki aane lagi");
API Reference
Default search
const lyrics = LyricFind.getLyrics(query)
| Parameter | Type | Description |
| :-------- | :------- | :------------------------- |
| query
| string
| Required. name of song |
Search in Gaana
const gaanaLyrics = LyricFind.lyricsFromGaana(query)
| Parameter | Type | Description |
| :-------- | :------- | :-------------------------------- |
| query
| string
| Required. name of song |