Skip to content

Commit

Permalink
Update pages/en/learn/command-line/output-to-the-command-line-using-n…
Browse files Browse the repository at this point in the history
…odejs.md

Co-authored-by: Brian Muenzenmeyer <[email protected]>
Signed-off-by: Augustin Mauroy <[email protected]>
  • Loading branch information
AugustinMauroy and bmuenzenmeyer authored Nov 24, 2023
1 parent 598a716 commit a586730
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ You can try that in the Node.js REPL, and it will print `hi!` in yellow.

However, this is the low-level way to do this. The simplest way to go about coloring the console output is by using a library. [Chalk](https://github.com/chalk/chalk) is such a library, and in addition to coloring it also helps with other styling facilities, like making text bold, italic or underlined.

You install it with `npm install chalk@5`, then you can use it:
You install it with `npm install chalk`, then you can use it:

```js
const chalk = require('chalk');
Expand Down

0 comments on commit a586730

Please sign in to comment.