🚀 DAY 2 OF LAUNCH WEEK: Unify Your Security Stack with Socket Basics.Learn more →
Socket
Book a DemoInstallSign in
Socket

chalkmark

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chalkmark

Markup for the console - convert HTML-like tags to ANSI escape sequences

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

chalkmark

Markup for the console - convert HTML-like tags to ANSI escape sequences

Usage

const chalkmark = require('chalkmark')

console.log(chalkmark('<b>test?</b> <green>success</green>'))

Example Screenshot with colored console output

Available tags

  • b or bold — bold text
  • u or underline — underlined text
  • s or strikethrough — strikethrough text
  • i or italic — italic text
  • inverse — inverted text (foreground and background reversed)
Text colors
  • black
  • red
  • green
  • yellow
  • blue
  • magenta
  • cyan
  • white
  • gray
Background colors
  • bgBlack
  • bgRed
  • bgGreen
  • bgYellow
  • bgBlue
  • bgMagenta
  • bgCyan
  • bgWhite

Keywords

console

FAQs

Package last updated on 15 Sep 2016

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