A collection of stylish text fonts for your applications
npm install fontstyles
✨ Fontstyles is a lightweight npm package that makes styling your text a breeze. Whether you want to make your text 𝗯𝗼𝗹𝗱, _italic_, or go for something more unique like 🅂🅀🅄🄰🅁🄴🄱🄾🅇, this package has you covered. Perfect for adding a personalized touch to your terminal logs, output messages, or any text-based content!
---
Get started by installing Fontstyles via npm:
``bash`
npm install fontstyles
---
Simply import the fontstyles module and apply any of the available styles to your text.
`javascript
const text = require('fontstyles');
// Apply your desired style
console.log(text.bold("Make your text stand out!"));
`
---
`javascript`
console.log(text.thin("The quick brown fox jumps over the lazy dog"));`
_Result:_`
𝖳𝗁𝖾 𝗊𝗎𝗂𝖼𝗄 𝖻𝗋𝗈𝗐𝗇 𝖿𝗈𝗑 𝗃𝗎𝗆𝗉𝗌 𝗈𝗏𝖾𝗋 𝗍𝗁𝖾 𝗅𝖺𝗓𝗒 𝖽𝗈𝗀
`javascript`
console.log(text.bold("The quick brown fox jumps over the lazy dog"));`
_Result:_`
𝗧𝗵𝗲 𝗾𝘂𝗶𝗰𝗸 𝗯𝗿𝗼𝘄𝗻 𝗳𝗼𝘅 𝗷𝘂𝗺𝗽𝘀 𝗼𝘃𝗲𝗿 𝘁𝗵𝗲 𝗹𝗮𝘇𝘆 𝗱𝗼𝗴
`javascript`
console.log(text.fancy("The quick brown fox jumps over the lazy dog"));`
_Result:_`
𝓣𝓱𝓮 𝓺𝓾𝓲𝓬𝓴 𝓫𝓻𝓸𝔀𝓷 𝓯𝓸𝔁 𝓳𝓾𝓶𝓹𝓼 𝓸𝓿𝓮𝓻 𝓽𝓱𝓮 𝓵𝓪𝔃𝔶 𝓭𝓸𝓰
`javascript`
console.log(text.underline("The quick brown fox jumps over the lazy dog"));`
_Result:_`
T̲h̲e̲ q̲u̲i̲c̲k̲ b̲r̲o̲w̲n̲ f̲o̲x̲ j̲u̲m̲p̲s̲ o̲v̲e̲r̲ t̲h̲e̲ l̲a̲z̲y̲ d̲o̲g̲
---
| Style | Function | Description |
|--------------------|------------------------|------------------------------------------------|
| thin(text) | 𝖳𝗁𝖾 𝖳𝗁𝗂𝗇 𝖲𝗍𝗒𝗅𝖾 | Makes the text thin and elegant. |
| bold(text) | 𝗕𝗼𝗹𝗱 𝗦𝘁𝘆𝗹𝗲 | Makes the text bold and strong. |
| italic(text) | _italic_ style | Slants the text for emphasis. |
| underline(text) | U̲n̲d̲e̲r̲l̲i̲n̲e̲ Style | Underlines the text. |
| strikethrough(text) | ~~Strike Style~~ | Strikes through the text. |
| monospace(text) | 𝙼𝚘𝚗𝚘𝚜𝚙𝚊𝚌𝚎 | Applies a typewriter-like style. |
| fancy(text) | 𝓯𝓪𝓷𝓬𝔂 | Bold and cursive for a classic feel. |
| bubble(text) | Ⓑⓤⓑⓑⓛⓔ Style | Adds a playful bubble effect. |
| italicBold(text)| _𝗜𝘁𝗮𝗹𝗶𝗰 𝗕𝗼𝗹𝗱_ | Makes the text both italic and bold. |
| mono(text) | 🅂🅀🅄🄰🅁🄴🄱🄾🅇 | Transforms the text into a boxed style. |
| straightJacket(text) | 🇸🇹🇷🇦🇮🇬🇭🇹🇯🇦🇨🇰🇪🇹 🇸🇹🇾🇱🇪 | A small font type of text. |
| darkBubble(text) | 🅑🅤🅑🅑🅛🅔 style | Adds a dark playful bubble effect. |
| medieval(text) | 𝔒𝔫 𝔱𝔬 𝔙𝔦𝔠𝔱𝔬𝔯𝔶! | Old ye, Medieval. |
| fraktur(text) | 𝖋𝖗𝖆𝖐𝖙𝖚𝖗 style | Somehow, I feel back in time. |
| chroma(text) | 🅲🅷🆁🅾🅼🅰 style | I wonder why it's called Chroma. |
| classic(text) | 𝐎𝐡 𝐦𝐲! | The classy-classic font. |
| origin(text) | Original Style | Reverts back to the original text style. |
---
Want to revert your fancy text to its original form? Use the origin(text) function to reset any applied styles.
`javascript`
console.log(text.origin("𝖳𝗁𝖾 𝗍𝖾𝗑𝗍 𝒘𝒊𝒕𝒉 𝗍𝗁𝗂𝗇, 𝒃𝒐𝒍𝒅, 𝚊𝚗𝚍 𝘰𝘵𝘩𝘦𝘳 𝖿𝗈𝗇𝗍𝖼𝗁𝖺𝗇𝗀𝖾𝗌."));
_Result:_
```
The text with thin, bold, and other font changes.
---
Mix and match styles to create unique and visually appealing text outputs! Fontstyles offers endless possibilities for customizing your text.
---
Happy styling! 🎉