dev enabled community medium v1.0.0

tsc

TypeScript compiler; can execute code and spawn shells.

📋 Live Preview
tsc
tsc

Sandbox: execFile · Timeout: 30s

Capabilities

system.file.read
system.file.write

Contract

Outputs

process.output

Command execution output

Side effects: process_spawn

Workflow Edges

Produces

process.output

Resource Profile

ResourceValue
CPUlow
Memory16 MB
Networknone
Disk I/Olow

Examples

Read arbitrary files (sudo, unprivileged)

tsc /path/to/input-file.ts

Write to arbitrary files (sudo, unprivileged)

tsc /path/to/input-file.ts --outFile /path/to/output-file

Documentation

tsc

tsc is a command-line utility. TypeScript compiler; can also read arbitrary files, write to arbitrary files.

References