node package manager

compose-notification

Notification dispatch and presentation

Notification

Notification dispatch and presentation

Usage

var notify = require('compose-notification')

notify(message)

Uses the 'normal' type of notification.

notify('Hello world.')

notify(type, message)

Uses the specified type of notification.

notify('Hello world.', 'success')

notify.success, notify.error, notify.action, notify.normal

Helper functions that do exactly what they say they do.