
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
musixmatch-lyrics-api
Advanced tools
A Node.js library to fetch song lyrics from Musixmatch.
npm install musixmatch-lyrics-api
const { Musixmatch } = require('musixmatch-lyrics-api');
const musixmatch = new Musixmatch();
async function getLyrics() {
try {
const lyrics = await musixmatch.findLyrics('Never Gonna Give You Up - Rick Astley');
console.log(lyrics);
} catch (error) {
console.error(error);
}
}
getLyrics();
new Musixmatch()
Creates a new instance of the Musixmatch client.
musixmatch.findLyrics(query)
Searches for lyrics on Musixmatch.
query
(string): The song title and artist to search for.Returns a Promise
that resolves to a LyricsData
object or null
if no lyrics are found.
LyricsData
Objecttext
(string | null): The plain text lyrics.lines
(Array | null): An array of lyric lines with timestamps.
range.start
(number): The start time of the line in milliseconds.line
(string): The text of the lyric line.track
(object): Information about the song.
title
(string): The song title.author
(string): The artist's name.albumArt
(string | undefined): The URL of the album art.source
(string): The source of the lyrics (always 'Musixmatch').FAQs
Get lyrics from Musixmatch
The npm package musixmatch-lyrics-api receives a total of 0 weekly downloads. As such, musixmatch-lyrics-api popularity was classified as not popular.
We found that musixmatch-lyrics-api demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.