Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 36 lines (22 sloc) 1.3 kb
f489367 @olalonde updated blog post URL in README.md and TUTORIAL.md
authored
1 Tutorial available here: [How to write your own native Node.js extension](http://syskall.com/how-to-write-your-own-native-nodejs-extension) or in TUTORIAL.md
73e1e66 @olalonde initial commit, minimal functionnality
authored
2
d64d74c @olalonde Wrote tutorial
authored
3 This is a follow up to [How to roll out your own Javascript API with V8](http://syskall.com/how-to-roll-out-your-own-javascript-api-with).
73e1e66 @olalonde initial commit, minimal functionnality
authored
4
5a33364 @istvan-antal Edited README.md via GitHub
istvan-antal authored
5
73e1e66 @olalonde initial commit, minimal functionnality
authored
6 ## Install ##
7
5a33364 @istvan-antal Edited README.md via GitHub
istvan-antal authored
8 Dependencies(Ubuntu 11.04):
9
10 sudo apt-get install libnotifymm-dev
11
30be298 @olalonde updated readme
authored
12 Using npm:
13
14 npm install notify
15
16 Manually:
17
73e1e66 @olalonde initial commit, minimal functionnality
authored
18 node-waf configure && node-waf build
19
2832bf5 @olalonde Added JS usage in README
authored
20 ## Usage ##
21
22 var notify = require("notify"); // or "../build/default/gtknotify.node" if you build manually
23 var notification = new notify.notification();
24 notification.title = "Notification title";
25 notification.icon = "emblem-default"; // see /usr/share/icons/gnome/16x16
26 notification.send("Notification message");
27
4fd12f4 @olalonde updated tuto
authored
28 ## References ##
73e1e66 @olalonde initial commit, minimal functionnality
authored
29
4fd12f4 @olalonde updated tuto
authored
30 - [https://www.cloudkick.com/blog/2010/aug/23/writing-nodejs-native-extensions/]()
31 - [https://github.com/pquerna/node-extension-examples](https://github.com/pquerna/node-extension-examples)
32 - [http://code.google.com/apis/v8/embed.html](http://code.google.com/apis/v8/embed.html)
33 - irc.freenode.org #v8 #node.js
34 - [https://github.com/ncb000gt/node.bcrypt.js](https://github.com/ncb000gt/node.bcrypt.js)
35 - [https://github.com/joyent/node](https://github.com/joyent/node)
Something went wrong with that request. Please try again.