Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

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

2

version

1.1.0

license

WTFPL

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar