@cmdotcom/text-sdk: A helper library to send text messages.
Want to send text-messages in your Node.js application? Then you are at the right place.
The package is currently limited in features compared to the CM gateway, but if you want to get all the functionalities, go to: CM.com API Docs
npm install @cmdotcom/text-sdk. Then, in your source file:
const messagingApi = ;// Get your product token at CM.com.const yourProductToken = "";const myMessageApi = yourProductToken;const result = myMessageApi;result;
or send multiple with SendTextMessages:
const result = myMessageApi;
@cmdotcom/text-sdk is under the MIT license. See LICENSE file.