Back to Templates
TypeScript
TypeScript Starter with ESLint, Prettier, Jest & Docker
Node.js + TypeScript with ESLint, Prettier, and Jest
terminal
npx setupkaro init my-app --template typescriptZero installNo telemetryMIT License
What's Included
- Node.js 20+ with TypeScript 5 (strict mode)
- ESLint with typescript-eslint and Prettier integration
- Jest with ts-jest for unit testing
- Husky + lint-staged for pre-commit hooks
- GitHub Actions: typecheck, lint, test, build
- Multi-stage Dockerfile (non-root, distroless-ready)
- docker-compose.yml for local development
- Generated README with scripts and folder structure
Generated Folder Structure
src/index.tstests/index.test.ts.github/workflows/ci.ymlDockerfiledocker-compose.ymlpackage.jsontsconfig.jsoneslint.config.jsprettier.config.jsjest.config.jsREADME.md
Quick Start Commands
Generate Project
terminal
npx setupkaro init my-app --template typescriptNext Steps
cd my-app
npm install
npm run dev
Frequently Asked Questions
- What Node.js version is required?
- Node.js 18+ (uses native test runner and modern TypeScript features). The template specifies Node 20 in Dockerfile and CI.
- Can I add Express/Fastify to this template?
- Yes. The template is a minimal TypeScript setup. Add your framework of choice after generation: `npm install express @types/express` or `npm install fastify`.
- Does it support ESM or CommonJS?
- ESM by default ("type": "module" in package.json). For CommonJS, change the package.json and tsconfig.json module settings.
Generate Another Template
React + TypeScript
Vite + React + TS with Tailwind and React Router
terminal
npx setupkaro init my-app --template react-tsReplace my-app with your project name.
Ready to generate your TypeScript project?
One command. Production-ready. Start building in seconds.
terminal
npx setupkaro init my-app --template typescript