Librespot wrapper for Node.JS.
This project was bootstrapped by create-neon.
yarn add librespot-nodenpm install librespot-node --saveSPIRC player shows up on spotify website / app
const sp = new SpotifyPlayerSpirc({
auth: {
username: "username",
password: "password",
},
})
sp.on("PlayerInitialized", () => {
console.log("player initialized")
})const sp = new SpotifyPlayer({
auth: {
username: "username",
password: "password",
},
})
sp.on("PlayerInitialized", () => {
console.log("player initialized")
})