JSPM

decorative-fonts.js

1.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 10
  • Score
    100M100P100Q60388F
  • License ISC

Decorative-Fonts.js is a library that provides different decorative fonts.

Package Exports

  • decorative-fonts.js
  • decorative-fonts.js/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (decorative-fonts.js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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: '𝘋𝘦𝘤𝘰𝘳𝘢𝘵𝘪𝘷𝘦-𝘍𝘰𝘯𝘵𝘴'