Question: Need help with this assignment. Any help is appreciated. You'll need to use Node.js, not javascript. Here is the assignment: Write a Node.js program that
Need help with this assignment. Any help is appreciated. You'll need to use Node.js, not javascript.
Here is the assignment:
Write a Node.js program that gets a random knock-knock joke and displays it.
Open a Git Bash terminal and install the knock-knock-jokes module:
$ npm config set strict-ssl false
$ npm config set registry="http://registry.npmjs.org/"
$ npm install -s knock-knock-jokes
Rest of the assignment:

Another assignment is below:

Reminder need to be in node.js
Read the npm page for the knock-knock-jokes module to understand its usage: https://ww.npmjs.com/package/knock-knock-jokes Create a Node.js file named knockknock.js: - Require the knock-knock-jokes module and assign it to a variable - Use the variable to obtain a random knock knock joke. Output the knock knock joke to the console utput two more knock knock jokes to the console, separated by blank Lines. Read the npm page for the knock-knock-jokes module to understand its usage: https://ww.npmjs.com/package/knock-knock-jokes Create a Node.js file named knockknock.js: - Require the knock-knock-jokes module and assign it to a variable - Use the variable to obtain a random knock knock joke. Output the knock knock joke to the console utput two more knock knock jokes to the console, separated by blank Lines
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
