Think Throo
Chapters
Think Throo
Chapters
Introduction
Index
Project setup
Add a CLI prompt
Install packages
Create a CLI prompt
Write colorful logs
Create logger.ts
Add spinner to your CLI
Add spinner
Write JSON to a file
Write JSON to a file
Build the package
Run the package locally
Install chalk solution
Install Chalk: Run the following command in your terminal to add Chalk to your project:
npm install chalk
Home
Best practices
Build a CLI package
Challenge
Solution
Sign In
Steps
Complete the following steps to finish this lesson.
1
Install chalk
Mark as Completed
2
Create logger.ts
Mark as Completed
3
Import logger in src/index.ts
Mark as Completed