playerui
minimalistic mediaplayer commandline ui.
sample
var playerui = require('playerui');
var ui = playerui();
ui.setLabel('source', 'Source', 'Ty Segall - Manipulator (Album)');
ui.setLabel('state', 'Playing', 'Playing...');
ui.setLabel('position', 'Position', '10:00 / 50:00');
ui.showLabels('source', 'state', 'position');
ui.setProgress(20);
ui.render();
The above code will render this into the commandline
Installation
npm install playerui
License
Copyright (c) 2014 Simon Kusterer
Licensed under the MIT license.