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...
Fancy Text Styles
|
Key |
Output Example |
| ----------------- | ------------------ |
|
Bold | ๐ต๐ฒ๐น๐น๐ผ ๐๐ผ๐ฟ๐น๐ฑ |
|
Italic | โ๐๐๐๐ ๐ค๐๐๐๐ |
|
BoldItalic | ๐๐๐
๐
๐ ๐๐๐๐๐
๐ |
|
Underline | ๐ฝฬฒ๐ฬฒ๐ฬฒ๐ฬฒโดฬฒ ๐ฬฒโดฬฒ๐ฬฒ๐ฬฒ๐นฬฒ |
|
Strikethrough | ๐๐๐๐๐ ๐๐๐๐๐ |
|
Monospace | ๐๐๐ก๐ก๐ค ๐ฌ๐ค๐ง๐ก๐ |
|
Superscript | สฐแตหกหกแต สทแตสณหกแต |
|
Subscript | โโโโโ โโแตฃหกแต |
|
Fraktur | ๐ฅ๐ข๐ฉ๐ฉ๐ฌ ๐ด๐ฌ๐ฏ๐ฉ๐ก |
|
BoldFraktur | ๐๐พ๐
๐
๐ ๐๐๐๐ |
|
Double Struck | ๐ณ๐๐๐๐ ๐๐๐๐๐ |
|
Script | ๐ฝ๐๐๐๐ ๐๐๐๐๐น |
|
Bold Script | ๐๐๐
๐
๐ ๐๐๐๐ |
|
Fancy1 | ๐
๐
๐
๐
๐
๐
ฆ๐
๐
ก๐
๐
|
|
Fancy2 | ๐ท๐ด๐ป๐ป๐พ ๐
๐พ๐
๐๐ณ |
|
Fancy3 | ใไน๏พ๏พใฎ W ใฎๅฐบ๏พใ |
Installation
Use the package manager
npm to install fancy text Generator.
``
bash
npm install fancy-text-generator
`
Usage
`
js
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