Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 LinesStep 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