Documentation

Dependencies

TinyJS keeps its runtime surface narrow: two direct packages plus Node.js standard-library modules.

TinyJS has two direct runtime dependencies:

  • esbuild transforms and bundles server-only TSX.
  • yaml safely parses YAML content and configuration.

Routing, serving, static output, JSX serialization, validation, navigation, and the limited Markdown renderer use TinyJS code and Node's standard library.

Development-only packages

TypeScript and Node declarations are development-only. TinyJS compiles TSX for execution, while type-checking stays a development command. That keeps TypeScript out of a published site's runtime dependency graph.

Browser footprint

TinyJS adds no browser runtime. There is no React, DOM implementation, virtual DOM, hydration layer, or client JavaScript requirement. The renderer produces ordinary server-rendered HTML.