@bridgerakol/communicate
v1.2.0
Published
Curretnly Supports SMS and EMAIL
Downloads
3
Readme
#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({...})