@seo-booster/notifier

0.0.8 • Public • Published

Notifier

Description

Wrapper library intended to manage rchat, hipchat and email notifications. Adopted to use in SEO Booster project.

Testing

npm run test

Installation

npm install @seo-booster/notifier --save

Usage

const notifier = require('@seo-booster/notifier');

notifier.init([
	{ name: 'hipchat' },
	{
        name: 'rchat',
        options: { uri, username, password }
    },
	{
        name: 'email',
        options: {
            service,
            auth: { user, pass }
        }
    }
]);

notifier.send('hipchat', { uri, message[, color, notify, message_format] });
notifier.send('rchat', { roomId, text[, color, alias] });
notifier.send('email', { from, to, subject, text[, html, attachments] });

/@seo-booster/notifier/

    Package Sidebar

    Install

    npm i @seo-booster/notifier

    Weekly Downloads

    9

    Version

    0.0.8

    License

    MIT

    Unpacked Size

    11.4 kB

    Total Files

    13

    Last publish

    Collaborators

    • dmitryskachko
    • massimo-ua
    • seobooster