abbreviator
v0.0.3
Published
Generate abbreviations out of sentences
Readme
Abbreviator
Transform sentences to abbreviations, e.g. (talk to you later => ttyl).
Installation
$ npm install abbreviatorUsage
Get abbreviation as is
import abbreviator from 'abbreviator'
abbreviator('talk to you later')
.then(console.log)
.catch(console.error)Capitalize abbreviation
import abbreviator from 'abbreviator'
abbreviator('talk to you later', true)
.then(console.log)
.catch(console.error)License
MIT License © Nick S. Plekhanov
