Package Exports
- abbreviator
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (abbreviator) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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