Question
Verify that Node.js Chalk works correctly. Run the Node.js command prompt Navigate to the folder with your files Make a directory for the assignment Install
Verify that Node.js Chalk works correctly. Run the Node.js command promptNavigate to the folder with your files Make a directory for the assignment Install chalk version 2.4.1 by running the following command npm install chalk@2.4.1 Create and save a .js file named colorDemo.js with the following content:chalk = require('chalk'); console.log(chalk.blue('Blue Text')); console.log(chalk.green('Green Text')); console.log(chalk.red('Red Text')); Execute the file from the command line using the following: node colorDemo.js Copy and Save the Snip in a Word document (.docx) Use the filename NPM_Assignment_Snips_Lastname.docx (ex. NPM_Assignment_Snips_Arrington.docx) |
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started