1.0.0 • Published 7 years ago

font-mess v1.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
7 years ago

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