Tanguv0.35.0
8 modules218 symbols
Raw Markdown

CLI, terminal, markup & browser DOM

CLI routers (/cli), TTY & ANSI control (/tty, /ansi), color math (/color), SHTML/CSS compilers (/repr/html, /repr/css), and JS Web APIs.

/cli#

9 functions

Declarative command-line argument and subcommand router DSL (action, query, cmd, scope, mount) with automatic help output.

(use /cli)

/tty#

4 functions

Terminal capability detection, dimensions, raw mode controls, and interactive prompt helpers.

(use /tty)

/ansi#

15 functions

ANSI terminal escape sequences for foreground/background styling, 256-color/RGB output, and text weights.

(use /ansi)

/color#

4 structs21 functions

Color space conversions (hex, RGB, HSL, OKLCH), WCAG contrast ratios, and tonal palette operations.

(use /color)

/repr/html#

8 functions

SHTML (#shtml / #html) node renderer, attribute/class utilities, and template formatter (format-html).

(use /repr/html)

/repr/css#

2 functions

CSS AST compiler and nested stylesheet formatter (format-css, scss->css) powering #css blocks.

(use /repr/css)

/repr/js/dom#

97 functions

Typed Browser DOM and Document/Element interop bindings when compiling Tangu to JavaScript.

(use /repr/js/dom)

/repr/js/web#

58 functions

Typed Web Platform API bindings (fetch, Storage, History, Workers, URL, WebSocket) for the JavaScript target.

(use /repr/js/web)