aws-sns-sms
An AWS SNS Module to send msessage to a phone number.(Can be used to send OTP)
Installation
npm install aws-sns-sms
Usage
let sendMsg = ; let awsConfig = accessKeyId: '' secretAccessKey: '' region: '' ; let msg = "message": "your OTP is 845214" "sender": "VISHAL" "phoneNumber": "+91XXXXXXXXXX" // phoneNumber along with country code ; ;