banner
Type Aliases
Section titled “Type Aliases”CliBrand
Section titled “CliBrand”CliBrand =
"fungi"|"vishnu"|"fungi-local-auth"|"computer"
BannerOptions
Section titled “BannerOptions”BannerOptions =
object
Properties
Section titled “Properties”brand:
CliBrand
columns
Section titled “columns”columns:
number
interactive
Section titled “interactive”interactive:
boolean
noColor
Section titled “noColor”noColor:
boolean
rawPty?
Section titled “rawPty?”
optionalrawPty?:boolean
Variables
Section titled “Variables”mushroom
Section titled “mushroom”
constmushroom: “ …::::::::..\n ……:========-:.\n :……..-==========-:\n .-=:……:-============:\n :====::….:::::––======-\n .-=-:::…………….::-==-\n -::…. .:. .::. …..:-.\n ….. .:==*: . .-*==. ….:\n …. . :=#+::::::#*- . ….\n … . . :====. . …..\n .. . . . . ..\n . . . . . .\n . . .\n . . .\n”
Retained Botanical terminal art; spacing is part of the image.
fungiWordmark
Section titled “fungiWordmark”
constfungiWordmark: “\n\n ,d8888b d8,\n 88P’ `8P\n d888888P\n ?88’ ?88 d8P 88bd88b d888b8b 88b\n 88P d88 88 88P’ ?8bd8P’ ?88 88P\n d88 ?8( d88 d88 88P88b ,88b d88\n d88’ `?88P’?8bd88’ 88b`?88P’`88bd88’\n )88\n ,88P\n `?8888P\n”
Retained Botanical terminal art; spacing is part of the image.
computerMushroom
Section titled “computerMushroom”
constcomputerMushroom: “ .-"""-.\n / . . \\n (_ . . _)\n | |\n |_____|\n”
Retained Computer terminal cap; spacing is part of the image.
vishnuWordmark
Section titled “vishnuWordmark”
constvishnuWordmark: “\n\n d8, d8b\n `8P ?88\n 88b\n ?88 d8P 88b .d888b, 888888b 88bd88b ?88 d8P\n d88 d8P’ 88P ?8b, 88P `?8b 88P’ ?8bd88 88\n ?8b ,88’ d88 `?8b d88 88P d88 88P?8( d88\n `?888P’ d88’ `?888P’ d88’ 88bd88’ 88b`?88P’?8b\n\n\n\n”
Whimsy lettering, matching the retained Fungi mark’s ten-line canvas.
compactMushroom
Section titled “compactMushroom”
constcompactMushroom: “ .—.\n (_____)\n | |\n”
Small cap for narrow terminals.
Functions
Section titled “Functions”colorizeBanner()
Section titled “colorizeBanner()”colorizeBanner(
art,brand?):string
A single truecolor wrap retains every space of the original art.
Parameters
Section titled “Parameters”string
brand?
Section titled “brand?”CliBrand = "fungi"
Returns
Section titled “Returns”string
renderBanner()
Section titled “renderBanner()”renderBanner(
options):string
Browser-safe renderer. Raw terminal writes need CRLF; ordinary TTYs own ONLCR.
Parameters
Section titled “Parameters”options
Section titled “options”Returns
Section titled “Returns”string