telcom is available as an npm package. Install the latest version with:
npm install telcom
var TelcomClient = ;var client =provider : 'twilio'sid : 'ACCOUNT_SID'token : 'AUTH_TOKEN';
Handle SMS Message URL
Telcome provides a few methods for validating and normalizing the requests from both Plivo and Twilio. These methods currently only support Express but could be modified slightly in the future to all other frameworks.
// Add the middleware to validate request from Providerapp// Add route with telcom.onSms handler to normalize data.app;
- Twilio - twilio
- Plivo - plivo
telcom is licensed under the MIT License.