$ cnpm install 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.
npm install smslingo
MIT. See "LICENSE.txt".
Copyright 2014 - 2017 © taobao.org |