Socket
Socket
Sign inDemoInstall

lyrics-monarch-api

Package Overview
Dependencies
2
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    lyrics-monarch-api

Fetches Lyrics Of a Song using Get Parameters.


Version published
Weekly downloads
11
increased by83.33%
Maintainers
1
Install size
431 kB
Created
Weekly downloads
 

Readme

Source

lyrics-monarch-api

Fetches lyrics of a song using matching terms.

Methods

getLyrics(term)

For Javascript:

const Lyrics = require('lyrics-monarch-api');
const lyrics = new Lyrics();
/**
 * Example of the method getLyrics
 */
lyrics.getLyrics('Snap back to reality')
    .then((response) => {
        return console.log(response);
    })
    .catch((error) => {
        return console.log(error);
    })

For Typescript

// @ts-ignore
import Lyrics from 'lyrics-monarch-api';
const lyrics = new Lyrics();
/**
 * Example of the method getLyrics
 */
lyrics.getLyrics('Snap back to reality')
    .then((response) => {
        return console.log(response);
    })
    .catch((error) => {
        return console.log(error);
    })

Keywords

FAQs

Last updated on 29 Jun 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