1.2.0 • Published 4 years ago

@bridgerakol/communicate v1.2.0

Weekly downloads
7
License
ISC
Repository
-
Last release
4 years ago

#bridgerakol #communicate

Quick Start

Install the communicate module

$ npm install @bridgerakol/communicate

Import the module

const communicate = require("@bridgerakol/communicate");

Send Mail:

let mail = new communicate.EMail({
    service: '',
    user: '',
    pass: ''
})

mail.send(email-id, Subject, Text Message).then({...})

Send SMS:

let sms = new communicate.SMS({
    auth_id: '',
    auth_token: '',
    sms_from: ''
})

sms.send(phone number, Text Message).then({...})