TS-NODE(1)
π TS-NODE(1) π
okay bestie, welcome to the ts-node-transpile-only manual page, straight out of User Commands, and no cap it's a whole vibe π¦
β¨ NAME β¨
ts-node-transpile-only β execute JavaScript and TypeScript code
πΈ SYNOPSIS πΈ
ts-node-transpile-only [options] [-e script] [arguments]
π DESCRIPTION π
So like, it runs the script you hand it β either an actual file on disk or a lil snippet you inline with the -e switch β and it does that through Node.js or TypeScript. And here's the tea: it's exactly equivalent to running ts-node with the --transpile-only switch. Same energy, shorter name, periodt. π
Now the options, bestie, all of them, don't skip a single one:
-e,--eval [code]β Evaluate code β¨-p,--printβ Print result of--eval-r,--require [path]β Require a node module before execution-i,--interactiveβ Opens the REPL even if stdin does not appear to be a terminal-h,--helpβ Print CLI usage-v,--versionβ Print module version information-s,--script-modeβ Use cwd from<script.ts>instead of current directory-T,--transpile-onlyβ Use TypeScript's fastertranspileModuleβ‘-H,--compiler-hostβ Use TypeScript's compiler host API-I,--ignore [pattern]β Override the path patterns to skip compilation-P,--project [path]β Path to TypeScript JSON project file-C,--compiler [name]β Specify a custom TypeScript compiler-D,--ignore-diagnostics [code]β Ignore TypeScript warnings by diagnostic code-O,--compiler-options [opts]β JSON object to merge with compiler options--dirβ Specify working directory for config resolution--scopeβ Scope compiler to files withincwdonly--filesβ Loadfiles,includeandexcludefromtsconfig.jsonon startup--prettyβ Use pretty diagnostic formatter (usually enabled by default) π--skip-projectβ Skip readingtsconfig.json--skip-ignoreβ Skip--ignorechecks--prefer-ts-extsβ Prefer importing TypeScript files over JavaScript files--log-errorβ Logs TypeScript errors to stderr instead of throwing exceptions
and that's the whole page, bestie, we ate and left zero crumbs πβ¨
little sign-off from the source, fr fr: this is ts-node v9.0.0, dated November 2020. iconic behavior honestly ππ
π¦ where this page comes from
- debian bookworm: ts-node 10.9.1+~cs8.8.29-1 Β· MIT
- debian trixie: ts-node 10.9.2+~cs64.13.20-2 Β· MIT
- ubuntu jammy: ts-node 9.1.1-6 Β· MIT
- ubuntu noble: ts-node 10.9.2+~cs64.13.14-1 Β· MIT
- ubuntu questing: ts-node 10.9.2+~cs64.13.20-2
- ubuntu resolute: ts-node 10.9.2+~cs64.13.20-3build1 Β· MIT
- ubuntu stonking: ts-node 10.9.2+~cs156.14.70-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms