This is a dead simple implementation for colored display when using console.log
.
To use this package, import it and pass it your text and an array of styles. Check out the code for a list of the styles.
import color from 'simple-colors'
console.log(color('Hello, World!', ['bold', 'red', 'bgBlack']))
npm install node-simple-colors