pretty-tsc
v1.0.0
Published
A pretty TypeScript validation checker with a spinner
Readme
pretty-tsc 🚀
Overview
pretty-tsc is a delightful terminal wrapper around TypeScript's compiler (tsc) that transforms mundane type-checking into a more enjoyable experience.
Why Another TypeScript Validation Tool?
Standard tsc output can be:
- Bland
- Hard to read
- Lacking visual feedback
pretty-tsc adds:
- 🌈 Colorful output
- ✨ Animated spinner
- 📍 Precise error location highlighting
Features
- 🖥️ Friendly terminal interface
- 🎨 Color-coded error messages
- 📊 Spinner to show validation progress
- 🔍 Detailed error reporting
- 🤝 Flexible tsconfig parsing
Installation
npm install -g pretty-tscUsage
# In your project directory
pnpm pretty-tsc or npm run pretty-tsc
# Or specify a custom tsconfig
pnpm pretty-tsc path/to/tsconfig.jsonExample Output
🚀 TS Validity Checker is validating your project ⠙
💢 TS Validation Failed: Found 2 Errors
src/components/Button.tsx
Line: 15 Column: 22
Type 'string' is not assignable to type 'number'Contributing
Contributions welcome! Feel free to open issues or submit PRs.
License
MIT License
