msg-91
v1.0.1
Published
msg91 nodejs module
Downloads
4
Readme
MSG91 Node.js API
Installation
npm install msg-91 --save
Usage
const msg91 = require('msg91')
/*
* Key - API Key
* Sender - Sender ID
* Route - SMS Route (1 for promotional & 4 for transactional)
* number - country code + phone (XXXXXXXXXX or XXXXXXXXXX, XXXXXXXXXX, XXXXXXXXXX)
*/
msg91.sendSMS(key, sender, route, number, message, function(status) {
console.log(status)
})