1 | var Notify = require('../');
|
2 | var notifier = new Notify();
|
3 |
|
4 | notifier.notify({
|
5 | "title": "Phil Coulson",
|
6 | "subtitle": "Agent of S.H.I.E.L.D.",
|
7 | "message": "If I come out, will you shoot me? 'Cause then I won't come out.",
|
8 | "sound": "Funk", // case sensitive
|
9 | "appIcon": __dirname + "/coulson.jpg",
|
10 | "contentImage": __dirname + "/coulson.jpg",
|
11 | "open": "file://" + __dirname + "/coulson.jpg"
|
12 | });
|
13 |
|
14 | setTimeout(function() {
|
15 | console.log("Done");
|
16 | }, 5000); |
\ | No newline at end of file |