node-spotify-bus

Check what song, artist and album are playing now on your computer

Usage no npm install needed!

<script type="module">
  import nodeSpotifyBus from 'https://cdn.skypack.dev/node-spotify-bus';
</script>

README

Node Spotify Bus

Check the current status of the song playing on Spotify on your computer. Works on linux and macOS.

Dependencies

You can find these dependencies for you OS or Linux distro as well.

Instalation

npm i node-spotify-bus

Usage

const nodeSpotify = require('node-spotify')
// import nodeSpotify from 'node-spotify'

// Get the current playing song
nodeSpotify.getSong().then(song => console.log(song))

// Get the current playing artist
nodeSpotify.getArtist().then(artist => console.log(artist))

// Get the current playing album
nodeSpotify.getAlbum().then(album => console.log(album))

LICENSE

MIT