← the logopen source · 2023 · solo · live

Chalk Mate

CLI text styling library extending Chalk.js with HTML-like template syntax for terminal colors, backgrounds, and text styles.

01problem

Chalk.js chaining syntax can be verbose for complex styling. HTML-like tags provide a more intuitive authoring experience.

02what I built

  • Built a CLI styling library that lets developers use HTML-like tags for terminal text formatting.
  • Supports CSS color names, hex codes, RGB values for foreground and background colors.
  • Includes bold, italic, underline, strikethrough, and other text decoration styles.
  • TypeScript
  • Node.js

03result

Live, without numbers yet.

04out

moses gitau06projects› trace