@bridgera-iot/communicate
v1.1.1
Published
> TODO: description
Downloads
3
Keywords
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({...})