1.1.0 • Published 7 years ago

shorten-with-ligatures v1.1.0

Weekly downloads
4
License
WTFPL
Repository
github
Last release
7 years ago

"Shorten" your text by replacing some pairs of characters with ligatures.

You could use this library to shorten tweets, if you didn't care about looking silly.

npm i shorten-with-ligatures
const shorten = require('shorten-with-ligatures')

Pass in a string, get back a string that might have some characters replaced with ligatures.

shorten(`Paul foolishly fled stateside`) // => '㎩ul fꝏlishly fled stateside'

License

WTFPL