# TargaScript > TargaScript is a small, modern scripting language that runs in the terminal, in web pages and inside Go programs. It reads like JavaScript, has pipes, pattern matching, structs and enums, destructuring and top-level await, and comes with a web server, a test runner, a formatter, a REPL and editor support in one binary. It was created by Miguel Targa. Files use the `.tg` extension. TargaScript is not TypeScript and isn't related to it. ## What it is - One language for scripts and web pages: the same code runs from a single command-line binary and in the browser from a WebAssembly runtime of about 200 KB compressed, with a `