# bokub/gradient-string

:rainbow:  Beautiful color gradients in terminal output

Repository: https://github.com/bokub/gradient-string
Canonical: https://ross.abutalabs.com/products/gradient-string
Language: TypeScript
License: MIT
License Family: permissive
Topics: nodejs, color, gradient, terminal, console
Last push: 2024-10-12T08:36:03+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3333, "days_push": 690, "days_rel": 705, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1198, forks 19 (observed 2026-08-28T04:03:57.660783+00:00)

## What it is
A Node.js library for rendering beautiful color gradients in terminal output. It supports custom color stops, multiple color formats via TinyColor, built-in gradients like rainbow and pastel, and multiline text alignment.

## Use cases
- add rainbow colors to CLI banner text
- print gradient-colored ASCII art in the terminal
- style console log output with color gradients
- apply a consistent gradient across multiline strings
- create custom gradients with specific color stops and interpolation

## When to choose
- you want eye-catching gradient text in a Node.js CLI or console app
- you need multiline gradient alignment for ASCII art or banners
- you want flexible color input formats (hex, RGB, HSV, named colors)

## When to avoid
- you only need basic single-color terminal styling (use chalk instead)
- your output is not rendered in a terminal
- you need to avoid ANSI escape codes in logs or files

## Facets
- artifact type: library
- maturity: stable
- function: cli, logging, developer-tools
- domain: developer-tools
- platform: cli, cross-platform
- tags: terminal-output, color-gradients, ansi-colors, console-formatting, typescript, command-line, nodejs

## Member repositories
- bokub/gradient-string (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:57.660783+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:21:08.972560+00:00, confidence not recorded.
  - readme: https://github.com/bokub/gradient-string (fetched 2026-08-28T04:03:57.660783+00:00, sha 638e643dd7d9)
  - registry_npm: https://registry.npmjs.org/gradient-string (fetched 2026-08-29T12:28:24.639131+00:00, sha 84250e82616f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
