This is an example of how to send an SMS. To run this script you should:
- Download the index.js and package.json files
- Install the dependencies with
npm install
- Get your Twilio Account SID and Auth Token from your Twilio console (sign up for a free account if you don't already have one)
- Get a Twilio number that can send SMS
- Set the credentials and other variables in the environment and run the script: