abbreviator
v0.0.3
Published
Generate abbreviations out of sentences
Downloads
3
Readme
Abbreviator
Transform sentences to abbreviations, e.g. (talk to you later
=> ttyl
).
Installation
$ npm install abbreviator
Usage
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