1.1.2 • Published 2 years ago

librespot-node v1.1.2

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

librespot-node

Librespot wrapper for Node.JS.

This project was bootstrapped by create-neon.

Installing

Using yarn

yarn add librespot-node

Using npm

npm install librespot-node --save

Usage

Creating a SPIRC Player

SPIRC player shows up on spotify website / app

const sp = new SpotifyPlayerSpirc({
  auth: {
    username: "username",
    password: "password",
  },
})

sp.on("PlayerInitialized", () => {
  console.log("player initialized")
})

Creating a Normal Player

const sp = new SpotifyPlayer({
  auth: {
    username: "username",
    password: "password",
  },
})

sp.on("PlayerInitialized", () => {
  console.log("player initialized")
})

Further documentation can be found here

1.1.2

2 years ago

1.1.0

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago