A modern TypeScript Node.js starter template with best practices and modern tooling.
- ⚡ Fast Development: Uses
tsxfor lightning-fast TypeScript execution - 🎯 TypeScript 5.x: Latest TypeScript with modern ES2022 target
- 🔍 ESLint: Code linting with TypeScript-specific rules
- 💅 Prettier: Automatic code formatting
- 📦 Modern Node.js: Requires Node.js 18+ with ES modules support
# Install dependencies
npm install
# Start development server with hot reload
npm run dev
# Build for production
npm run build
# Run production build
npm startnpm run dev- Start development server with hot reload using tsxnpm run build- Build TypeScript to JavaScriptnpm start- Run the built applicationnpm run clean- Remove build artifactsnpm run lint- Run ESLintnpm run lint:fix- Run ESLint and fix auto-fixable issuesnpm run format- Format code with Prettiernpm run format:check- Check if code is formatted correctlynpm run type-check- Run TypeScript type checking without emitting
This project requires Node.js 18 or higher. If you use nvm, run:
nvm useThe project is configured with:
- TypeScript 5.x with strict mode and modern ES2022 target
- ESLint with TypeScript and Prettier integration
- Prettier for consistent code formatting
- tsx for fast TypeScript execution in development
src/
index.ts # Main application entry point
dist/ # Built JavaScript files (generated)