decorative-fonts.js
v1.0.4
Published
Decorative-Fonts.js is a library that provides different decorative fonts.
Downloads
16
Maintainers
Readme
Decorative-Fonts.js
Decorative-Fonts.js is a library that provides different decorative fonts.
Installation
npm i decorative-fonts.js
Usage
Replace letters with Fraktur Font
const DecorativeFont = require("decorative-fonts.js")
console.log(DecorativeFont.Fraktur("Decorative-Fonts")) // Output: '𝔇𝔢𝔠𝔬𝔯𝔞𝔱𝔦𝔳𝔢-𝔉𝔬𝔫𝔱𝔰'
Replace letters with Script-MT-Bold Font
const DecorativeFont = require("decorative-fonts.js")
console.log(DecorativeFont.MTBold("Decorative-Fonts")) // Output: '𝒟ℯ𝒸ℴ𝓇𝒶𝓉𝒾𝓋ℯ-ℱℴ𝓃𝓉𝓈'
Replace letters with Edwardian Font
const DecorativeFont = require("decorative-fonts.js")
console.log(DecorativeFont.Edwardian("Decorative-Fonts")) // Output: '𝓓𝓮𝓬𝓸𝓻𝓪𝓽𝓲𝓿𝓮-𝓕𝓸𝓷𝓽𝓼'
Replace letters with Sans-Serif Font
const DecorativeFont = require("decorative-fonts.js")
console.log(DecorativeFont.serif("Decorative-Fonts")) // Output: '𝐃𝐞𝐜𝐨𝐫𝐚𝐭𝐢𝐯𝐞-𝐅𝐨𝐧𝐭𝐬'
Replace letters with Buckle Font
const DecorativeFont = require("decorative-fonts.js")
console.log(DecorativeFont.buckle("Decorative-Fonts")) // Output: '𝓓𝓮𝓬𝓸𝓻𝓪𝓽𝓲𝓿𝓮-𝓕𝓸𝓷𝓽𝓼'
Replace letters with Bold Font
const DecorativeFont = require("decorative-fonts.js")
console.log(DecorativeFont.bold("Decorative-Fonts")) // Output: '𝗗𝗲𝗰𝗼𝗿𝗮𝘁𝗶𝘃𝗲-𝗙𝗼𝗻𝘁𝘀'
Replace letters with Italic Font
const DecorativeFont = require("decorative-fonts.js")
console.log(DecorativeFont.Italic("Decorative-Fonts")) // Output: '𝘋𝘦𝘤𝘰𝘳𝘢𝘵𝘪𝘷𝘦-𝘍𝘰𝘯𝘵𝘴'