smshelper
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/smshelper package

0.1.0 • Public • Published

Build Status

SMS Helper

SMS tool that can help you properly count the length of an SMS, calculate the part and what encoding it is.

Installation

$ npm install smshelper

Supports

  • Node

Requirements

  • None

Usage

const SmsHelper = require('smshelper')
 
SMSHelper.count('Sample message.')
// 15
SMSHelper.parts('Sample message.')
// 1
SMSHelper.detect_encoding('Sample message.')
// 'GSM_7BIT'

Test

$ npm test

Original Idea

danxexe/sms-counter

License

MIT licensed. See the bundled LICENSE file for more details.

Package Sidebar

Install

npm i smshelper

Weekly Downloads

225

Version

0.1.0

License

MIT

Unpacked Size

7.76 kB

Total Files

6

Last publish

Collaborators

  • jaygel179