step00_helloworld
v1.0.1
Published
[For the latest docs](https://www.typescriptlang.org/docs/)
Downloads
6
Readme
Using Inquirer and Chalk to CLI Apps
Using Inquirer and Chalk Package
The latest version of Inquirer(9+) and Chalk(5+) have started using Native ECMA Script Packages.
In most of our projects and assignment we will use these packages.
Give the following command:
npm i inquirer
npm i --save-dev @types/inquirer
npm install chalk
Add .gitignore file and Write your code in app.ts file.
Give the following commands:
tsc
node app.js
You can develop CLI Games using Inquirer, Chalk, etc. All your class projects will be CLI based and should be deployed as an NPX command
Run the following command to experience a CLI game:
npx firequiz
Now review the source code for Firequiz game.