smslingo

A simple module to convert SMS slang abbreviations to normal text

Usage no npm install needed!

<script type="module">
  import smslingo from 'https://cdn.skypack.dev/smslingo';
</script>

README

smslingo

A simple node.js module that detects and converts SMS language abbreviations to regular text.

var SmsLingo = require('smslingo');
var sms = new SmsLingo();

sms.isAbbr('der'); // true
sms.text('der'); // there
sms.statement('b der @ 10am'); // be there at 10am

Internally smslingo uses a mapping that maps abbreviations to their actual text.

Installation

npm install smslingo

License

MIT. See "LICENSE.txt".