-- Leo's gemini proxy

-- Connecting to freeshell.de:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini;lang=en-GB

ts-node


> Run TypeScript code directly, without any compiling.

More information.


Execute a TypeScript file without compiling (`node` + `tsc`):

ts-node {path/to/file.ts}

Execute a TypeScript file without loading `tsconfig.json`:

ts-node --skip-project {path/to/file.ts}

Evaluate TypeScript code passed as a literal on the command-line:

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

Execute a TypeScript file in script mode:

ts-node --script-mode {path/to/file.ts}

Transpile a TypeScript file to JavaScript without executing it:

ts-node --transpile-only {path/to/file.ts}

Display TS-Node help:

ts-node --help


> Copyright © 2014—present the tldr-pages team and contributors.

> This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY



-- Response ended

-- Page fetched on Mon May 20 23:29:43 2024