1.2.0 • Published 3 years ago

status-icon v1.2.0

Weekly downloads
6
License
MIT
Repository
github
Last release
3 years ago

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');
1.2.0

3 years ago

1.1.0

4 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.0.2

8 years ago

0.0.1

8 years ago