0.0.3 • Published 7 years ago

abbreviator v0.0.3

Weekly downloads
7
License
MIT
Repository
github
Last release
7 years ago

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