A Node.js logger that uses OS X notifications
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
LICENSE
README.md
package.json
test.js

README.md

termy

A Node.js logger that uses OS X notifications. Inspired by bitch

Installation

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

Usage

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
})

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request