# qterm

> Make your node cli apps look cute

Latest version **0.3.22** (published 2022-05-10) · ISC license · 0 weekly downloads

## Install

```sh
npm install qterm
pnpm add qterm
yarn add qterm
bun add qterm
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.22 |
| Published | 2022-05-10 |
| First published | 2022-05-10 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 7 |
| Unpacked size | 26.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | louishrg |

## Links

- npm: https://www.npmjs.com/package/qterm
- npm.io page: https://npm.io/package/qterm

## Dependencies (7)

- [chalk](https://npm.io/package/chalk.md) ^4.1.2
- [figlet](https://npm.io/package/figlet.md) ^1.5.2
- [stream](https://npm.io/package/stream.md) ^0.0.2
- [console](https://npm.io/package/console.md) ^0.7.2
- [terminal-link](https://npm.io/package/terminal-link.md) ^2.1.0
- [chalk-animation](https://npm.io/package/chalk-animation.md) ^2.0.2
- [gradient-string](https://npm.io/package/gradient-string.md) ^2.0.1

## Recent versions

- 0.3.22 (latest) — 2022-05-10
- 0.3.21 — 2022-05-10
- 0.3.20 — 2022-05-10
- 0.3.10 — 2022-05-10
- 0.3.0 — 2022-05-10
- 0.2.0 — 2022-05-10
- 0.1.0 — 2022-05-10

## README

# QTerm

🐱 Make your console.log() looks cute 👶

<img src="./assets/screenshot.png" />

## Installation :

npm :
`npm install qterm`

yarn :
`yarn add qterm`

## Available methods :

**table** :
```javascript
import { table } from 'qterm';

table(arr, styles);
```
**title** :
```javascript
import { title } from 'qterm';

title(text, styles);
```
**text**
```javascript
import { text } from 'qterm';

text(text, styles);
```

**link**
```javascript
import { link } from 'qterm';

link(text, link, styles)
```

## Styling :

**Change text color :**

```javascript
title("Awesome CLI", "text-red");
text("Another text", "text-blue");
text("Custom font", "text[#02D]");
```
**Change background color :**

```javascript
title("Awesome CLI", "bg-red");
text("Another text", "bg-blue");
text("Custom font", "bg[#02F]");
```

**Add margins :**

```javascript
title("Awesome CLI", "ml-4");
text("Another text", "mt-2");
text("Custom font", "mb-1");
```

**Change font style :**

```javascript
title("Awesome CLI", "font-bold");
text("Another text", "font-italic");
text("Custom font", "font-underline");
```

**Use font gradient :**

```javascript
title("Awesome CLI", "gradient-mind");
text("Another text", "gradient-rainbow");
text("Custom font", "gradient-vice");
```

## Title font list :
You can set fonts for the title method, you can retrieve the complete list of available font for titles : https://github.com/patorjk/figlet.js/tree/master/fonts

## Gradient list :

**Built-in gradients :**
[![Built-in gradients](http://bit.ly/2uFygrL)](http://bit.ly/2ufX07r)


### Dependencies :
- chalk
- figlet
- gradient-string
- terminal-link

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