CmdID

CmdID / Commands

ts-node

Run TypeScript code directly, without any compiling. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Execute a TypeScript file without compiling (Node + tsc)

ts-node path/to/file.tsIdentify

Execute a TypeScript file without loading tsconfig.json

ts-node --skipProject path/to/file.tsIdentify

Evaluate TypeScript code passed as a literal

ts-node --eval 'console.log("Hello World")'Identify

Execute a TypeScript file in script mode

ts-node --script-mode path/to/file.tsIdentify

Transpile a TypeScript file to JavaScript without executing it

ts-node --transpileOnly path/to/file.tsIdentify

Display help

ts-node --helpIdentify