Miss any of our Open RFC calls?Watch the recordings here! »

shorten-with-ligatures

1.1.0 • Public • Published

"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

Install

npm i shorten-with-ligatures

DownloadsWeekly Downloads

3

Version

1.1.0

License

WTFPL

Last publish

Collaborators

  • avatar