Node.js Ansi Color

Write a node.js program to return the following text by using ansi-color.
 

Solution

$ npm install --save ansi-colors

ansi-colors is a Node.js library for adding colors to text in the terminal. A more performant drop-in replacement for chalk, with no dependencies.

Read more articles


General Knowledge



Learn Popular Language