Interactive example

Greeting API playground

Enter a name, choose punctuation, and activate the generate button to run createGreeting. The result is displayed below, and unexpected errors are reported next to the controls.

What this demonstrates

The playground imports the same root API used by package consumers. It demonstrates name trimming, blank-name fallback, and optional punctuation without private module imports.