NPM helper module to control the Spotify player.
This module allows you to control the Spotify player. From changing player state or changing the song currently playing.
npm install spotify-helper
This example will show you how the pause the player.
const SpotifyHelper = require('spotify-helper');
let Spotify = new SpotifyHelper();
Spotify.init()
.then(function () {
return Spotify.pause();
});
This example will show you how the play the player.
const SpotifyHelper = require('spotify-helper');
let Spotify = new SpotifyHelper();
Spotify.init()
.then(function () {
return Spotify.play();
});
You can report bugs with the repo issue tracker.