node package manager
Easy sharing. Manage teams and permissions with one click. Create a free org »

compose-notification

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.