@anabode/shared_worker_notification

Handles notification via email and SMS

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
@anabode/shared_worker_notification
Minified + gzip package size for @anabode/shared_worker_notification in KB

Readme

Anabode Notification service

Handles notification via email and SMS

DESCRIPTION

Accepts a Key/Value object with Key as search parameter and value as the replace value in a template fetched from S3

USAGE

Send SMS

var Notifier = require('@anabode/shared_worker_notification');
var notifier = new Notifier({}, conf.notifier);


  var smsBody = {
      body: "Hello", // 
      phone: 4477777777, // Required - must be in integer format and omitting the first 00 || + 
      sender: "Anabode" // will be shown on device as `from` some networks may not display this properly 
    };
    notifier.sendSMSMultiPurpose(smsBody, (e, d) => {
      if (e) {
          return reject(e);
      }
      else {
          return resolve(_input);
      }
    })

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.