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

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

Keywords

none

install

npm i font-mess

Downloadsweekly downloads

6

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability