Skip to content
Figlet for ink
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.eslintrc.js
.gitignore
.travis.yml
LICENSE
README.md
index.js
package.json
test.js
yarn.lock

README.md

ink-figlet

Figlet for ink

Usage

import { h, render } from 'ink'
import Figlet from 'ink-figlet'
render(<Figlet font="Ghost">Hello</Figlet>)

Params

Options of figlet's textSync

figlet.textSync('Boo!', {
    font: 'Ghost',
    horizontalLayout: 'default',
    verticalLayout: 'default'
});

<Figlet font="Ghost" horizontalLayout="default" verticalLayout="default">Boo!</Figlet>
You can’t perform that action at this time.