now-playing
v1.0.1
Published
NowPlaying sets the document title to the current song
Readme
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.
