--help, -h | Show help for ts-node |
-v, --version | Print version information of the ts-node module |
-e, --eval <script> | Evaluate script |
-p, --print | Evaluate script and print result |
-r, --require <module> | |
-i, --interactive | Always open interactive REPL |
--show-config | Print resolved Typescript config to the terminal |
--cwd-mode | Resolve Typescript config based on the current working directory |
-T, --transpile-only | Use the Typescript transpile module mode |
-H, --compiler-host | Use the Typescript compiler host API |
-I, --ignore <pattern> | Ignore patterns from Typescript compilation |
-P, --project <project> | Specify TypeScript project location |
-C, --compiler <compiler> | Use a custom compiler |
--transpiler <transpiler> | Use a custom transpiler |
-D, --ignore-diagnostics <code> | Specify Typescript diagnostic code to ignore |
-O, --compiler-options <options> | JSON object that will be merged with the compiler options |
--cwd <cwd> | Specify working directory |
--files | Load files, include and exclude from Typescript config on startup |
--pretty | Use the pretty formatter for diagnostic errors |
--skip-project | Skip reading Typescript config |
--scope | Scope compilation to scope directory specified |
--scope-dir <directory> | Directory for scope parameter |
--skip-ignore | Skip --ignore checks |
--prefer-ts-exts | Prefer Typescript files over JavaScript files when importing files |
--log-error | Pipe Typescript errors to stderr instead of throwing exceptions |
--no-experimental-repl-await | Disable the top-level await function in REPL |