# gradient-terminal

> A CLI progam display teminal outputs as gradients.

Latest version **1.2.0** (published 2022-09-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install gradient-terminal
pnpm add gradient-terminal
yarn add gradient-terminal
bun add gradient-terminal
```

Provides the command `gterm`.

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2022-09-18 |
| First published | 2022-01-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 11.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 41 |
| Author | Ritin George |
| Maintainers | aurora-0025 |

## Links

- npm: https://www.npmjs.com/package/gradient-terminal
- Repository: https://github.com/aurora-0025/gradient-terminal
- Homepage: https://github.com/aurora-0025/gradient-terminal#readme
- Issues: https://github.com/aurora-0025/gradient-terminal/issues
- npm.io page: https://npm.io/package/gradient-terminal

## Dependencies (2)

- [ansi-regex](https://npm.io/package/ansi-regex.md) ^6.0.1
- [tinygradient](https://npm.io/package/tinygradient.md) ^1.1.5

## Recent versions

- 1.2.0 (latest) — 2022-09-18
- 1.0.1 — 2022-01-14

## README

# GRADIENT-TERMINAL
![](https://i.imgur.com/1Samqwu.png)

>A CLI progam to display teminal outputs as gradients.

---
## Requirements
[![NodeJS](https://img.shields.io/badge/node.js-6DA55F?style=for-the-badge&logo=node.js&logoColor=white)](https://nodejs.org/en/download/)

>For Installation, you will only need Node.js.
---
## Install
   ### Installing From npmjs
    $ npm install -g gradient-terminal
    
   ### Installing From Source
    $ git clone https://github.com/aurora-0025/gradient-terminal.git
    $ cd gradient-terminal
    $ npm install -g .
---
## Usage

### Open Terminal

```
 <command> | gterm "<color1>" "<color2>" ... 
```

![](https://i.imgur.com/8KsaCcA.png)

## Accepted Color Formats

| `Hex, 8-digit (RGBA) Hex`| `RGB, RGBA`           | `HSL, HSLA`             | `HSV, HSVA`              |
| :-----------------------:|:---------------------:|:-----------------------:|:------------------------:|
| "#000"                   | "rgb (255, 0, 0)"     | "hsl(0, 100%, 50%)"     | "hsv(0, 100%, 100%)"     |
| "000"                    | "rgb 255 0 0"         | "hsla(0, 100%, 50%, .5)"| "hsva(0, 100%, 100%, .5)"|
| "#369C"                  | "rgba (255, 0, 0, .5)"| "hsl(0, 100%, 50%)"     | "hsv (0 100% 100%)"      |
| "369C"                   |                       | "hsl 0 1.0 0.5"         | "hsv 0 1 1"              |
| "#f0f0f6"                |                       |                         |                          |
| "f0f0f6"                 |                       |                         |                          |
| "#f0f0f688"              |                       |                         |                          |
| "f0f0f688"               |                       |                         |                          |

## Dependencies

- [tinygradient](https://github.com/mistic100/tinygradient) - Generate gradients

---
_Source: https://npm.io/package/gradient-terminal · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
