Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/peterfritz/gradient-figlet

A CLI tool that creates gradient ASCII art from text with FIGlet and style.
https://github.com/peterfritz/gradient-figlet

cli figlet gradient-text greeter nodejs zsh

Last synced: 24 days ago
JSON representation

A CLI tool that creates gradient ASCII art from text with FIGlet and style.

Awesome Lists containing this project

README

        


gradient-figlet


A CLI that creates gradient ASCII art from text with FIGlet and style.




npm version


npm downloads


license


gradient-figlet logo


## Basic usage

You can use npx to install and run the package

npx gradient-figlet "your text here" -l



npx gradient-figlet "your text here" -l

## Options

| option | description | default value | required | [examples](#examples) |
| -------------- | ------------------------------------------------- | ------------- | -------- | ------------------------ |
| -l | adds a trailing newline to fix vertical alignment | false | false | [-l](#l) |
| -m | makes the gradient horizontal | false | false | [-lm](#lm) |
| -t `theme` | changes the theme ([themes list](#themes)) | 'rainbow' | false | [-lt](#lt) |
| --from `color` | gradient's start color | null | false | [--from, --to](#from-to) |
| --to `color` | gradient's end color | null | false | [--from, --to](#from-to) |

### Themes

One of [gradient-string's built-in gradients](https://github.com/bokub/gradient-string#available-built-in-gradients) listed below.

npx gradient-figlet --list-themes



npx gradient-figlet --list-themes

### Examples

npx gradient-figlet "your text here" -l



npx gradient-figlet "your text here" -l

npx gradient-figlet "your text here" -lm



npx gradient-figlet "your text here" -lm

npx gradient-figlet "your text here" -lt retro



npx gradient-figlet "your text here" -lt retro

npx gradient-figlet --from "#42047e" --to "#07f49e" -l



npx gradient-figlet --from "#42047e" --to "#07f49e" -l