🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@anabode/shared_worker_notification

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@anabode/shared_worker_notification

Handles notification via email and SMS

latest
npmnpm
Version
1.0.9
Version published
Maintainers
2
Created
Source

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);
      }
    })

Keywords

aws

FAQs

Package last updated on 10 Aug 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts