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

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i shorten-with-ligatures

    Weekly Downloads

    1

    Version

    1.1.0

    License

    WTFPL

    Last publish

    Collaborators

    • tehshrike