Twilio provides a platform for communication via IP messaging (chat), video, voice, SMS and MMS. This simple example demonstrates how to send an SMS text message using the Twilio module for Node.js.
Twilio has two versions of the twilio-node module, a 2.0 SDK and a 3.0 SDK. It is recommended to use the 3.0 SDK as the 2.0 SDK will be deprecated on the 8/31/2017.
Deprecation notice: New functionality will only be added to the new library (Node Helper Library 3.x). The old library (2.x) will be officially supported until 8/31/2017. After that day, Twilio will stop providing bug fixes and Support might ask you to upgrade before debugging issues. https://www.twilio.com/docs/libraries/node
You can refer to the Twilio REST documents for a more detailed description. Twilio also has a JSdocs which can be used as a reference.