unicode-fonts-js
v0.2.2
Published
A JavaScript package that turn alphanumeric characters into weird font style.
Downloads
70
Readme
𝑾𝒆𝒊𝒓𝒅 𝑭𝒐𝒏𝒕𝒔
𝑨 𝑱𝒂𝒗𝒂𝑺𝒄𝒓𝒊𝒑𝒕 𝒑𝒂𝒄𝒌𝒂𝒈𝒆 𝒕𝒉𝒂𝒕 𝒕𝒖𝒓𝒏 𝒂𝒍𝒑𝒉𝒂𝒏𝒖𝒎𝒆𝒓𝒊𝒄 𝒄𝒉𝒂𝒓𝒂𝒄𝒕𝒆𝒓𝒔 𝒊𝒏𝒕𝒐 𝒘𝒆𝒊𝒓𝒅 𝒇𝒐𝒏𝒕 𝒔𝒕𝒚𝒍𝒆.
𝑺𝒄𝒓𝒆𝒆𝒏𝒔𝒉𝒐𝒕
You can play with this demo.
𝑰𝒏𝒔𝒕𝒂𝒍𝒍𝒂𝒕𝒊𝒐𝒏
npm install weird-fonts --save
𝑼𝒔𝒂𝒈𝒆
import { serif } from "weird-fonts"
serif("I love you three thousand.", { fontStyle: "bold-italic" }) // 𝑰 𝒍𝒐𝒗𝒆 𝒚𝒐𝒖 𝒕𝒉𝒓𝒆𝒆 𝒕𝒉𝒐𝒖𝒔𝒂𝒏𝒅.