All apps/ts-node

ts-node

ts-node

TypeScript execution engine and REPL for Node.js.

Runs as ts-node|macOS, Linux, Windows|typestrong.org

Command form

ai-draft · 2 tasks · 9 fields

Run a TypeScript script or evaluate code with ts-node. Compiler plumbing flags are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui ts-node
Run TypeScriptExample values, fixed in this page — nothing here reaches a terminal
Basic
Script*
file
Transpile only (skip type check)
--transpile-only
tsconfig project
any
TasksEach one presets the form for one job
Run script
scripttranspile_onlyproject
Evaluate expression
evalprint
ParametersOnly these flags are editable in the form
Script
path · positional 0
Evaluate code
string
--eval-e
Print result
boolean
--print-p
Transpile only (skip type check)
boolean
--transpile-only-T
tsconfig project
path
--project-P
Require module first
string
--require-r
Open REPL
boolean
--interactive-i
Show resolved config
boolean
--show-config
Skip tsconfig
boolean
--skip-project
SourcesEvery flag above is checked against these
fig
completion

github.com

Before it fills your prompt, Otty checks the installed ts-node against its version. A form that does not match your version is not offered.