jiti does not support TypeScript config files. jiti-tsc bridges this gap by converting tsconfig.json paths into jiti-compatible options for better developer experience in monorepo environments.
@push-based/jiti-tsc- CLI tool and programmatic API for using jiti with TypeScript configuration files
npm install @push-based/jiti-tsc# Run jiti with tsconfig-derived options
JITI_TS_CONFIG_PATH=./tsconfig.json npx jiti-tsc ./path/to/module.ts
# Print resolved jiti configuration
JITI_TS_CONFIG_PATH=./tsconfig.json npx jiti-tsc print-configThis will use your TypeScript configuration to resolve path aliases and other compiler options when running jiti.
- 🔒 Type-safe - Full TypeScript support with path alias resolution
- 📦 Zero config - Automatically detects
tsconfig.jsonin the current directory - 🎯 Monorepo support - Resolves TypeScript path aliases at runtime
- 📝 CLI & API - Both command-line tool and programmatic API available
See CONTRIBUTING.md for guidelines on how to contribute to this project.