@marcinkowalczyk/sms-counter

1.0.1 • Public • Published

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
}

Thanks to

https://github.com/danxexe/sms-counter

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.134latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.134

Package Sidebar

Install

npm i @marcinkowalczyk/sms-counter

Weekly Downloads

34

Version

1.0.1

License

MIT

Unpacked Size

8.74 kB

Total Files

8

Last publish

Collaborators

  • marcinkowalczyk