Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
growlnotify for nodejs... a gist
JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
tests
Readme.md

Readme.md

Growl for nodejs

lib/growl.js adds Growl support for nodejs

Examples

Growl.notify('You have mail!')
Growl.notify('5 new messages', { sticky: true })
Growl.notify('5 new emails', { title: 'Email Client', image: 'Safari', sticky: true })
Growl.notify('Show Safari icon', { image: 'Safari' })
Growl.notify('Show icon', { image: 'path/to/icon.icns' })
Growl.notify('Show image', { image: 'path/to/my.image.png' })
Growl.notify('Show png filesystem icon', { image: 'png' })
Growl.notify('Show pdf filesystem icon', { image: 'article.pdf' })

Options

  • title
    • notification title
  • name
    • application name
  • sticky
    • weither or not the notification should remainin until closed
  • image
    • Auto-detects the context:
      • path to an icon sets --iconpath
      • path to an image sets --image
      • capitalized word sets --appIcon
      • filename uses extname as --icon
      • otherwise treated as --icon

Thanks to

- TJ Holowaychuk (js-growl - http://github.com/visionmedia/js-growl) <tj@vision-media.ca>
Something went wrong with that request. Please try again.