Install
npm install notif
Usage
notif;
Example:
notif;
Every notification is internally represented by an object containing the following properties:
notification
:
time
: {Object} Date() object that is automatically assigned when notification is created.actor
: {Object} A generic object that identifies the user or entity that performed the activity.verb
: {String} A verb that identifies the action of the activity.object
: (optional) {Object} The primary object of the activity.
Note: This library follows the Atom Activity Streams nomenclature.
Registering verb handlers
notif; notif; notif; notif; notify;
References
http://nodejs.org/api/events.html
https://github.com/flatiron/winston
https://github.com/brantyoung/django-notifications
https://github.com/jtauber/django-notification/blob/master/docs/usage.txt