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
Steps
Complete the following steps to finish this lesson.
1
npm init
Mark as Completed
2
Install TypeScript
Mark as Completed
3
Install tsup
Mark as Completed
4
Create src/index.ts
Mark as Completed
Home
Best practices
Build a CLI package
Challenge
Solution
Sign In