Transform sentences to abbreviations, e.g. (talk to you later
=> ttyl
).
$ npm install abbreviator
import abbreviator from 'abbreviator'
abbreviator('talk to you later')
.then(console.log)
.catch(console.error)
import abbreviator from 'abbreviator'
abbreviator('talk to you later', true)
.then(console.log)
.catch(console.error)
MIT License © Nick S. Plekhanov