Skip to content

ClassStatus/fancy-text-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

fancy-text-generator

its npm package to create fancy text using this lab

Fancy Text Generator

Fancy Text Generator is a Node.js module that allows you to generate fancy and stylish text using various decorative fonts and styles. Perfect for adding flair to your web app. use below keys Bold, Italic, BoldItalic, Underline, Strikethrough, Monospace, Superscript, Subscript, Fraktur, BoldFraktur, Double Struck, Script, Bold Script, Fancy1, Fancy2, Fancy3, more to come...

Installation

Use the package manager npm to install fancy text Generator.

npm install fancy-text-generator

Usage

const generateFancyText = require("fancy-text-generator");

const inputText = "hello world";
generateFancyText(inputText, "italic"); // returns ℎ𝑒𝑙𝑙𝑜 𝑤𝑜𝑟𝑙𝑑
generateFancyText(inputText, "bold"); // returns 𝗵𝗲𝗹𝗹𝗼 𝘄𝗼𝗿𝗹𝗱
generateFancyText(inputText, "underline"); // returns 𝒽̲𝑒̲𝓁̲𝓁̲ℴ̲ 𝓌̲ℴ̲𝓇̲𝓁̲𝒹̲
generateFancyText(inputText, "fancy1"); // returns 🅗🅔🅛🅛🅞 🅦🅞🅡🅛🅓
generateFancyText(inputText, "fancy2"); // returns 🄷🄴🄻🄻🄾 🅆🄾🅁🄻🄳
generateFancyText(inputText, "fancy3"); // returns ん乇レレの Wの尺レり

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

its npm package to create fancy text using this lab

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors