https://github.com/mezotv/chalk-advanced
Chalk-advanced is a library that allows you to color your console output.
https://github.com/mezotv/chalk-advanced
chalk chalk-advanced chalkjs nodejs npm-module npm-package npmjs
Last synced: about 1 year ago
JSON representation
Chalk-advanced is a library that allows you to color your console output.
- Host: GitHub
- URL: https://github.com/mezotv/chalk-advanced
- Owner: mezotv
- License: mit
- Created: 2022-04-30T11:00:49.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-08-22T22:57:41.000Z (almost 3 years ago)
- Last Synced: 2025-03-19T08:49:28.494Z (over 1 year ago)
- Topics: chalk, chalk-advanced, chalkjs, nodejs, npm-module, npm-package, npmjs
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/chalk-advanced
- Size: 14.6 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# chalk-advanced
Chalk-advanced is a library that allows you to color your console output. This tool is used by projects like [Would You Bot](https://wouldyoubot.gg).
[](https://www.npmjs.com/package/chalk-advanced)
[](https://www.npmjs.com/package/chalk-advanced)
[](https://www.npmjs.com/package/chalk-advanced)
## Quick Links
- [Installation](#installation)
- [Code Example](#code-example)
- [Colors](#colors)
- [Contributors](#contributors)
## Installation
Install chalk-advanced with npm
```bash
npm install chalk-advanced
```
Install chalk-advanced with yarn
```bash
yarn add chalk-advanced
```
## Code Examples
```js
const { ChalkAdvanced } = require('chalk-advanced');
console.log(ChalkAdvanced.red('Hello World!'));
```
```js
const { red } = require('chalk-advanced');
console.log(red('Hello World!'));
```
```js
const { rgb } = require('chalk-advanced');
console.log(rgb(250, 30, 107, "Hello World!"));
```
## Colors
- **`black(text)`**:
- **`red(text)`**:
- **`green(text)`**:
- **`yellow(text)`**:
- **`blue(text)`**:
- **`magenta(text)`**:
- **`cyan(text)`**:
- **`white(text)`**:
- **`gray(text)`**:
- **`redBright(text)`**:
- **`greenBright(text)`**:
- **`yellowBright(text)`**:
- **`blueBright(text)`**:
- **`magentaBright(text)`**:
- **`cyanBright(text)`**:
- **`whiteBright(text)`**:
- **`bgBlack(text)`**:
- **`bgRed(text)`**:
- **`bgGreen(text)`**:
- **`bgYellow(text)`**:
- **`bgBlue(text)`**:
- **`bgMagenta(text)`**:
- **`bgCyan(text)`**:
- **`bgWhite(text)`**:
- **`bgRedBright(text)`**:
- **`bgGreenBright(text)`**:
- **`bgYellowBright(text)`**:
- **`bgBlueBright(text)`**:
- **`bgMagentaBright(text)`**:
- **`bgCyanBright(text)`**:
- **`bgWhiteBright(text)`**:
- **`bold(text)`**:
- **`dim(text)`**:
- **`italic(text)`**:
- **`underline(text)`**:
- **`inverse(text)`**:
- **`hide(text)`**:
- **`strikethrough(text)`**:
- **`hex(code, text)`**:
- **`hsl(h, s, l, text)`**:
- **`rgb(r, g, b, text)`**:
## Contributors
