@bridgera-iot/send_sms
v1.0.1
Published
@bridgera-iot/send_sms ======== A Node.JS simple interface to send SMS to mobile number(s) ## Installation
Downloads
1
Keywords
Readme
@bridgera-iot/send_sms
A Node.JS simple interface to send SMS to mobile number(s)
Installation
Via [npm][1]:
$ npm install @bridgera-iot/send_sms
Usage
let {send_sms, send_sms_bulk} = require('@bridgera-iot/send_sms');
let sms_auth_id='';
let sms_auth_token='';
let sms_from='';
let phone_ext='+1';
let phone='7xx-x8x-9xx9';
let message='Lorem Ipsum is simply dummy text of the printing and typesetting industry.';
let sms_response= await send_sms(sms_auth_id, sms_auth_token, sms_from, phone_ext, phone, message);
console.log(sms_response);
let array_phone_obj =[{'phone_ext': '+1', 'phone_number': '111-111-1111'},
{'phone_ext': '+1', 'phone_number': '211-121-1121'},
{'phone_ext': '+1', 'phone_number': '311-131-1131'}];
let sms_response_bulk = await send_sms_bulk(sms_auth_id, sms_auth_token, sms_from, array_phone_obj, message)
console.log(sms_response_bulk);
Credits
Written and maintained by [Bikram Mondal].
License
The ISC License