node package manager
We need your input. Help make JavaScript better: Take the 2017 JavaScript Ecosystem survey »

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.