lyriks.js
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i lyriks.js

Weekly Downloads

1

Version

1.0.0

License

GNU GPLv3

Unpacked Size

45.6 kB

Total Files

10

Last publish

Collaborators

  • piyushbhangale