Skip to content

matteogatti/sms-counter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ae6caad · Apr 27, 2022

History

16 Commits
Jan 15, 2022
Jan 15, 2022
Mar 28, 2019
Mar 28, 2019
Mar 28, 2019
Jan 15, 2022
Mar 28, 2019
Mar 28, 2019
Apr 27, 2022
Jan 25, 2022
Jan 15, 2022

Repository files navigation

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