UNPKG

node-aurora

Version:

Provides an interface to the Aurora Dreamband.

12 lines (7 loc) 322 B
'use strict'; var _util = require('./util'); module.exports = function (buzzSong) { var connector = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'any'; var cmd = typeof buzzSong == 'string' ? buzzSong : (0, _util.buzzSongObjToCmd)(buzzSong); return this.queueCmd(cmd, connector); };