nexgen-thesound

0.1.0 • Public • Published

nexgen-thesound

Get the current song played on thesound.co.nz

Installation

Simplest way to install nexgen-thesound is to use npm.

Just run npm install nexgen-thesound which will download nexgen-thesound and all it's dependencies.

Usage

Simply require nexgen-thesound in your code

var theSound = require('nexgen-thesound');
Current Song/Track
theSound.current(function(track) {
    console.log('Currently playing ' + track.title + ' by ' + track.artist);
});
Next Song/Track
theSound.next(function(track) {
    console.log('Next song will be ' + track.title + ' by ' + track.artist);
});

Package Sidebar

Install

npm i nexgen-thesound

Weekly Downloads

1

Version

0.1.0

License

Apache-2.0

Last publish

Collaborators

  • samwalshnz