Skip to content

vsergiu/termy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A Node.js logger that uses OS X notifications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published