Figlet for ink
import { h, render } from 'ink'
import Figlet from 'ink-figlet'
render(<Figlet font="Ghost">Hello</Figlet>)
Options of figlet
's textSync
figlet.textSync('Boo!', {
font: 'Ghost',
horizontalLayout: 'default',
verticalLayout: 'default'
});
↓
<Figlet font="Ghost" horizontalLayout="default" verticalLayout="default">Boo!</Figlet>