šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
Book a DemoInstallSign in
Socket

lyriks.js

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lyriks.js

Lyrics scraping API for nodejs

1.0.0
latest
Source
npm
Version published
Weekly downloads
4
33.33%
Maintainers
1
Weekly downloads
Ā 
Created
Source

Discord Downloads Npm version
Github stars License

Installation

NPM :

npm install lyriks.js

Yarn :

yarn add lyriks.js

Example usage

const { LyriksClient } = require("lyriks.js")

const lyriksClient = new LyriksClient()
lyriksClient.getLyrics("dynamite").then(lyrik => {
    // You can access the data using the following functions
    const author = lyrik.getAuthor()
    const title = lyrik.getAuthor()
    const source = lyrik.getSource()
    const search = lyrik.getSearch()
    const url = lyrik.getURL()
    const lyrics = lyrik.getContent() // or getLyrics() or getLyriks() also works :p

    // Do stuff with the above data
})

Contributors

šŸ‘¤ Piyush

Keywords

lyrics

FAQs

Package last updated on 05 Nov 2020

Did you know?

Socket

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