# @heroku-cli/color

> base CLI command for cli-engine

Latest version **2.0.8** (published 2026-08-21) · ISC license · 0 weekly downloads

## Install

```sh
npm install @heroku-cli/color
pnpm add @heroku-cli/color
yarn add @heroku-cli/color
bun add @heroku-cli/color
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 2.0.8 |
| Published | 2026-08-21 |
| First published | 2017-12-26 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=20.0.0 |
| Dependencies | 4 |
| Unpacked size | 15.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 4 |
| Author | Heroku |
| Maintainers | sbosio_sf, eblack, mars, heroku-johnny, michael.malave, erika.wallace |
| Keywords | heroku, heroku-cli-plugin |

## Links

- npm: https://www.npmjs.com/package/@heroku-cli/color
- Repository: https://github.com/heroku/heroku-cli-color
- Issues: https://github.com/heroku/heroku-cli-color/issues
- npm.io page: https://npm.io/package/@heroku-cli/color

## Dependencies (4)

- [chalk](https://npm.io/package/chalk.md) ^4.1.2
- [tslib](https://npm.io/package/tslib.md) ^1.9.3
- [ansi-styles](https://npm.io/package/ansi-styles.md) ^4.3.0
- [supports-color](https://npm.io/package/supports-color.md) ^7.2.0

## Recent versions

- 2.0.8 (latest) — 2026-08-21
- 2.0.7 — 2026-07-17
- 2.0.6 — 2026-06-09
- 2.0.5 — 2026-01-29
- 2.0.4 — 2024-08-01
- 2.0.3 — 2024-06-25
- 2.0.2 — 2024-05-22
- 2.0.1 — 2024-04-11
- 2.0.0 — 2024-04-10
- 1.1.16 — 2022-12-09
- 1.1.15 — 2022-11-16
- 1.1.14 — 2018-11-02
- 1.1.13 — 2018-10-19
- 1.1.12 — 2018-10-18
- 1.1.11 — 2018-10-18
- … 14 more at https://npm.io/package/@heroku-cli/color/versions

## README

# Heroku CLI Color

heroku-cli-color`` is a command-line interface (CLI) tool for Heroku, a cloud platform for building, deploying, and managing applications. The project provides custom color options for the Heroku CLI using the chalk module.

## Installation

1. Clone the repository: `git clone https://github.com/heroku/heroku-cli-color.git`
2. Install dependencies: `yarn install`
3. Build the project: `yarn build`

## Usage

1. See example below

## Contributing

Contributions are welcome! Please follow these steps:

1. Fork the repository
2. Create a new branch: `git checkout -b my-branch-name`
3. Make your changes and commit them: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-branch-name`
5. Submit a pull request

## Example
```
import { color } from './color';

console.log(color.attachment('This text is in cyan.'));
console.log(color.addon('This text is in yellow.'));
console.log(color.configVar('This text is in green.'));
console.log(color.release('This text is in blue and bold.'));
console.log(color.cmd('This text is in cyan and bold.'));
console.log(color.pipeline('This text is in green and bold.'));
console.log(color.app('This text is in magenta and prefixed with "⬢".'));
console.log(color.heroku('This text is in magenta.'));

const coloredText = color.app('My App');
console.log(`Welcome to ${coloredText}!`);
```

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