SMS tool that can help you properly count the length of an SMS, calculate the part and what encoding it is.
$ npm install smshelper
- Node
- None
const SMSHelper = require('smshelper')
SMSHelper.count('Sample message.')
// 15
SMSHelper.parts('Sample message.')
// 1
SMSHelper.detect_encoding('Sample message.')
// 'GSM_7BIT'
$ npm test
MIT licensed. See the bundled LICENSE file for more details.