node package manager

shorten-with-ligatures

"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