Skip to content

Glossary: Node.js Basics

styleText

A function from `node:util` that wraps text in the codes a terminal uses for color. It skips the codes when output isn't a terminal.

Where the book teaches it

Related terms

TTYpicocolors