unic-ghom
v1.0.1
Published
format text to unicode chars for fiancy fonts
Downloads
4
Maintainers
Readme
Unic
//////////////
// GET UNIC //
//////////////
install from npm with "npm i unic-ghom"
// get function
const unic = require("unic-ghom")
/////////////////
// UNIC SYNTAX //
/////////////////
unic( input, style )
////////////////
// UNIC PROPS //
////////////////
String input // (required)
Text to transform
String style // (required)
Style of output font
return String output
////////////////////////////////
// HOW TO USE UNIC FUNCTION ? //
////////////////////////////////
unic( "Hello World", "italic")
// returns : 𝘏𝘦𝘭𝘭𝘰 𝘞𝘰𝘳𝘭𝘥
unic( "Hello World", "bold")
// returns : 𝗛𝗲𝗹𝗹𝗼 𝗪𝗼𝗿𝗹𝗱
unic( "Hello World", "stick")
// returns : 𝙷𝚎𝚕𝚕𝚘 𝚆𝚘𝚛𝚕𝚍
unic( "Hello World", "manu")
// returns : 𝓗𝓮𝓵𝓵𝓸 𝓦𝓸𝓻𝓵𝓭
////////////////////////////
// LIST OF POSSIBLE TYPES //
////////////////////////////
[
"bold", "stick", "italic", "important",
"manu", "bold-manu", "gothic", "bold-gothic",
"spaces", "title"
]