Skip to content

istvan-antal/node-notify

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tutorial available here: How to write your own native Node.js extension or in TUTORIAL.md

This is a follow up to How to roll out your own Javascript API with V8.

Install

Using npm:

npm install notify

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

About

Native Node.js C++ extension for displaying desktop notifications using GNOME's libnotify (libnotifymm) library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published