font-mess

1.0.0 • Public • Published

font-mess npm-version

Obscure text with messed font.

Wow. This looks normal.

-- Friends with Benefits (2011)

How does it works? Inspect this obscured text, it generate a messed font to display messed text normally.

Install

npm install font-mess

Usage

Programatic

const fs = require('fs')
const mess = require('font-mess')
 
const messer = mess(fs.readFileSync('some-font.ttf'))
const messed = messer('some text')
// => {
//    originalText,
//    messMapping,
//    messedText,
//    messedFontBuffer
// }

Endpoint

License

MIT @ Amio

/font-mess/

    Package Sidebar

    Install

    npm i font-mess

    Weekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • amio