Browse files

Merge branch 'master' of github.com:olalonde/node-notify

  • Loading branch information...
2 parents f489367 + 2832bf5 commit ca87f4e1512ed9bd337255129fa0a43ec5b52916 @olalonde committed May 12, 2011
Showing with 8 additions and 0 deletions.
  1. +8 −0 README.md
View
8 README.md
@@ -12,6 +12,14 @@ Manually:
node-waf configure && node-waf build
+## Usage ##
+
+ var notify = require("notify"); // or "../build/default/gtknotify.node" if you build manually
+ var notification = new notify.notification();
+ notification.title = "Notification title";
+ notification.icon = "emblem-default"; // see /usr/share/icons/gnome/16x16
+ notification.send("Notification message");
+
## References ##
- [https://www.cloudkick.com/blog/2010/aug/23/writing-nodejs-native-extensions/]()

0 comments on commit ca87f4e

Please sign in to comment.