Socket
Book a DemoInstallSign in
Socket

chalk-advanced

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chalk-advanced

Chalk-advanced is a library that allows you to add color to the output of your console.

1.0.7
latest
Source
npmnpm
Version published
Weekly downloads
190
475.76%
Maintainers
2
Weekly downloads
 
Created
Source

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.

npm

size

downloads

Installation

Install chalk-advanced with npm

  npm install chalk-advanced

Install chalk-advanced with yarn

  yarn add chalk-advanced

Code Examples

const { ChalkAdvanced } = require('chalk-advanced');

console.log(ChalkAdvanced.red('Hello World!'));
const { red } = require('chalk-advanced');

console.log(red('Hello World!'));
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

image

Keywords

chalk

FAQs

Package last updated on 22 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.