Skip to content
The book

Velt documentation#

Velt compiles your TypeScript to a native executable: Rust-class speed, every core, and no runtime to install. It reads .ts and .tsx files as they are, and adds what a compiler makes possible: typed errors, integer types, extend and parallel tasks.

The BookLearn Velt: getting started, a tour, Velt for TypeScript developers, and guides for servers, CLIs, async, errors, memory, packages, testing and hot reload.
The ReferenceThe precise rules: types, functions, classes, errors, async, memory model, modules, diagnostics, …
The standard libraryOne page per module, at its import path: velt/fs, velt/net/http (fetch), velt/encoding/json, velt/process, velt/collections, … and the always-available prelude.
PackagesThe official packages: http-server, sqlite, postgres and redis.
ToolingThe velt command, velt dev, package.vlt, packages, formatter, editors, debugging, WebAssembly, platforms.
InternalsHow the compiler works: the pipeline, the interfaces between stages, and the design notes behind the language.

New here? Start with Getting started, then take the tour.

Contributing: CONTRIBUTING.md. Plans: ROADMAP.md.

Edit this page on GitHub