Install the module chalk and make sure that the message is logged in green
For the documentation details visit
https://www.npmjs.com/package/chalk
P.S. This is an advanced task. Feel free to skip it.
This task is part of the Full-Stack JavaScript Course
If you have any issues with it, you can ask for community help below the post
Feel free to help others if you’ve already solved the task
helper.js
import chalk from '';
export const sayHello = () => {
console.log(chalk('Hello, Green World!'));
};
solution.js
/**
* Hello, Green World!.
*
* Install the module "chalk" and make sure that the message is logged in green
*
* For the documentation details visit https://www.npmjs.com/package/chalk
* */
import { sayHello } from './helper.js';
sayHello();