Skip to content

TheCodedJourney/InquirerTesting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inquirer Testing

This is a space to test inquirer and some basic functionality

Refer to some inquirer examples here!

inquirer.js

Install dependencies

Step 1 - create package json

If there is no package.json or package-lock.json in this repository, run the following command in your terminal 👨‍💻

npm init -y 

Step 2 - install inquirer

To run inquirer, we will need to install it. Run the following command into the terminal to install this to your dependencies in your package.json

npm install --save inquirer@^8.0.0

Step 3 - install fs

To save your order to an orders list, you need to install fs so we can write the answers to a json file. Run the following command into the terminal

npm install fs 

Step 4 - run inquirer

To run the main example in this repository, enter the following command into the terminal!

node pizzaInquirer.js 

About

testing inquirer NPM package

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published