status-icon
v1.2.0
Published
Easy way of adding tray icon telling you what's the build status
Downloads
6
Readme
status-icon
Easy way of adding tray icon telling you what's the build status
Usage
npm install --save-dev status-icon
var statusIcon = require('status-icon')();
statusIcon.set('my-icon.png');
How to use
Use it with browserify or any of your other build systems:
...
function bundle() {
statusIcon.progress();
var stream = bundler.bundle();
stream.on('error', function () {
statusIcon.error();
});
stream.(...).on('finish', function () {
statusIcon.ok();
});
}
You can also use your custom images with:
statusIcon.set('my-icon.png');