unic-ghom

1.0.1 • Public • Published

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"
]  

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i unic-ghom

      Weekly Downloads

      0

      Version

      1.0.1

      License

      ISC

      Unpacked Size

      7.93 kB

      Total Files

      6

      Last publish

      Collaborators

      • ghom