npm module for searching songs and albums.
let musicInfo = require("music-info");
musicInfo.searchSong({ title: "November Rain", artist: "Guns N Roses", album: "Use Your Illusion I" }, 1000).then(console.log);
1000
is the size of the artwork.artist
andalbum
parameters are optional.
let musicInfo = require("music-info");
musicInfo.searchAlbum({ name: "Appetite For Destruction", artist: "Guns N Roses" }, 1000).then(console.log);
1000
is the size of the artwork.artist
parameter is optional.
let musicInfo = require("music-info");
musicInfo.searchLyrics({ title: "Since I Don't Have You", artist: "Guns N Roses" }).then(console.log);
artist
parameter is optional.