Package Exports
- @marcinkowalczyk/sms-counter
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@marcinkowalczyk/sms-counter) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
SMS Counter
Character counter for SMS messages.
Usage
SmsCounter.count('content of the SMS')This will return the following object:
{
encoding: "GSM_7BIT",
length: 18,
messages: 1,
per_message: 160,
remaining: 142
}