ProtectedapplyProtectedapplyGenerate an ASCII banner text for the message using the specified options.
the message to output.
Optionaloptions: BannerGenerateOptions
optional generation options.
Return the names of the currently registered fonts.
Register a new font.
The recommended way to load the font definition is to convert the font definition to a JSON string
(replacing newlines with \n) and placing in a simple JSON file: { "font": "<figlet font definition>" }.
This can then be imported as follows:
import { font as myFont } from "./myfont.json" with { type: "json" };
the name used to refer to the font.
the definition for the syntax conforming to the FIGfont format.
Service allowing a text string to be rendered using an ASCII banner font.