# terminal-styling

> A npm package to add some styling to terminal output

Latest version **2.0.2** (published 2025-06-07) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 30/100 (F)** — status: maintenance-mode.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.2 |
| Published | 2025-06-07 |
| First published | 2021-07-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 13.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | theticarcher38 |
| Maintainers | theticarcher38 |
| Keywords | terminal-styling, terminal-colors |

## Links

- npm: https://www.npmjs.com/package/terminal-styling
- Repository: https://github.com/Theticarcher/terminal-styling
- Homepage: https://github.com/Theticarcher/terminal-styling/blob/main/README.md
- Issues: https://github.com/Theticarcher/terminal-styling/issues
- npm.io page: https://npm.io/package/terminal-styling

## Dependencies (2)

- [typescript](https://npm.io/package/typescript.md) ^4.3.5
- [@types/node](https://npm.io/package/@types/node.md) ^16.0.0

## Alternatives

- [localforage](https://npm.io/package/localforage.md) — 6.2M weekly downloads
- [localforage-observable](https://npm.io/package/localforage-observable.md) — 30.8K weekly downloads
- [@y/y](https://npm.io/package/@y/y.md) — 30.1K weekly downloads
- [@metaobjectsdev/render](https://npm.io/package/@metaobjectsdev/render.md) — 3.5K weekly downloads
- [@ledgerhq/coin-algorand](https://npm.io/package/@ledgerhq/coin-algorand.md) — 1.1K weekly downloads

## Recent versions

- 2.0.2 (latest) — 2025-06-07
- 2.0.0 — 2025-06-07
- 1.3.0 — 2025-06-07
- 1.2.0 — 2025-06-07
- 1.1.4 — 2022-12-12
- 1.1.3 — 2022-12-12
- 1.1.2 — 2022-10-16
- 1.1.1 — 2022-10-16
- 1.1.0 — 2022-10-16
- 1.0.51 — 2022-10-15
- 1.0.50 — 2022-10-15
- 1.0.5 — 2022-10-15
- 1.0.3 — 2022-10-15
- 1.0.2 — 2022-04-16
- 1.0.1 — 2021-07-07
- … 1 more at https://npm.io/package/terminal-styling/versions

## README

<<<<<<< HEAD
# terminal-styling
An npm package for better terminal styling
=======
# terminal-colors

A npm package to add some styling to terminal output

**Does Not Work With JavaScript**
**Currently supports typescript**
**Working on a JavaScript Fix**

## Installation

```sh
npm install terminal-styling
```

## Usage

```typescript

import { console } from 'terminal-styling'

// Changes terminal output to red
console.err("This is my error message");

// Changes terminal output to yellow
console.warn("This is my warning message");

// Changes terminal output to green
console.info("This is my info message");

// Allows the user to use custom colors
console.customColor("ffffff", "White on black", "000000");
console.customColor("00ffff", "Cyan text");

// Allows the user to create a table
console.table([{ name: "Alice", age: 25 }, { name: 'Bob', age: 30 }]);

```
>>>>>>> master

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