ink-ascii
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

ink-ascii

Awesome ASCII art component for Ink

Install

$ npm install ink-ascii

Usage

import React from "react";
import { render } from "ink";
import Ascii from "ink-ascii";
 
render(
  <Ascii font="Slant Relief" horizontalLayout="default" verticalLayout="default" text="Yeah!" />
);

API

<Ascii/>

Props except for text are passed as options to figlet.

TODO

  • MVP
  • Tests
  • Support color themes
  • Support user specified width and hard line wraps
  • Support word wraps

Related

License

MIT © Xiaoru Li

/ink-ascii/

    Package Sidebar

    Install

    npm i ink-ascii

    Weekly Downloads

    80

    Version

    0.0.4

    License

    MIT

    Unpacked Size

    6.17 kB

    Total Files

    9

    Last publish

    Collaborators

    • hexrcs