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# Using jiti-tsc as a global ESM loader with Node.js --import flag
node --import jiti-tsc/register ./path/to/module.ts
# Using jiti-tsc as a global ESM loader with Node.js --import flag and env variable for tsconfig path
JITI_TSCONFIG_PATH=./tsconfig.json node --import jiti-tsc/register ./path/to/module.ts
# Run jiti
npx jiti-tsc ./path/to/module.ts
# Run jiti with tsconfig-derived options
JITI_TSCONFIG_PATH=./tsconfig.json npx jiti-tsc ./path/to/module.tsSee CONTRIBUTING.md for guidelines on how to contribute to this project.