1.0.1 • Published 7 years ago
now-playing v1.0.1
Now Playing
Sets the HTML document title to the current song. The song should be an object with the properties:
{
  'title': 'Song title',
  'artist': 'Some artist'
}Connects to PlayQueue.
Install
npm install now-playingUsage
  import {NowPlaying} from 'now-playing';
    
  const nowPlaying = new NowPlaying({
    'pageTitle': 'Now Playing Example',
    'playQueue': playQueue
  });View the example to see how it is used.