There are many packages for filling your Node.js terminal programs with pretty colors. chalk is by far the most popular, but it may be too heavy for simple use cases. You may find some of these alternatives to be useful:
Comparison
Package | Size | Popularity | Dependents |
kleur | |||
colors-cli | |||
colors | |||
ansi-styles | |||
chalk | |||
cli-color |