Skip to content

textmode.figlet.js / FigletPlugin

Variable: FigletPlugin

ts
const FigletPlugin: TextmodePlugin;

Plugin entrypoint for the FIGlet add-on.

Installs FIGlet methods on the Textmodifier through TextmodePluginContext.defineExtension, so the plugin runtime owns conflict detection and cleanup for the extension properties. Per-instance plugin state is cleared by the returned cleanup function.

Example