Boot Log

A self test that prints itself line by line, at its final height from the first frame.

Installation

npx shadcn@latest add @afterglow/boot-log

API Reference

BootLog

Prints its lines one at a time, interval milliseconds apart. A line can carry a tone: default, dim, ok, warn or error.

PropTypeDefault
lines(string | { text: string; tone?: BootTone })[]-
intervalnumber240
prefixstring">"
onComplete() => void-