abbreviator

0.0.3 • Public • Published

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

Package Sidebar

Install

npm i abbreviator

Weekly Downloads

0

Version

0.0.3

License

MIT

Last publish

Collaborators

  • nicksp