A Node.js logger that uses OS X notifications. Inspired by bitch
On OS X 10.8, Notification Center is supported using terminal-notifier. To install:
$ sudo gem install terminal-notifier
Install npm and run:
$ npm install termy
var termy = require('termy');
termy.yell('Error');
termy.yell('Error', { sticky: true }); // make it sticky
termy.yell('Error', { title: 'Module error'}); // define your title
termy.yell('Error', {}, function() {
// do some cool stuff in this callback
})
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request