twilio-express
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

twilio-express

It is a tiny package to send quick sms through twilio.

NPM

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]

Readme

Keywords

Package Sidebar

Install

npm i twilio-express

Weekly Downloads

1

Version

1.0.5

License

ISC

Unpacked Size

1.55 kB

Total Files

4

Last publish

Collaborators

  • ahin_subhra_das