twilio-express
v1.0.5
Published
It is a tiny package to send quick sms through twilio.
Downloads
2
Readme
twilio-express
It is a tiny package to send quick sms through twilio.
just put 3 parameters message will send to your target phone number.
📦 Installation
npm i twilio-express
Author
Ahin Subhra Das
Declaration
Require twilio-express in the top of your file :
const twilio = require('twilio-express');
After that just put options for twilio rember it will always in a array.
twilioExpress.options = [process.env.TWILIO_ACCOUNT_SID,process.env.TWILIO_AUTH_TOKEN];
Usage
const twilioExpress = twilioExpress(frmPhn,toPhn,message);
[frmPhn: your registered phone number,toPhn: Target phone number,message: what message you want to sent]