Skip to main content

Deno codecov

TSX-static

This is a minimal library for tsx pre-rendering or static site generation.

Usage

  • react.ts: This file provides tsx rendering functionality. React, StyleSheet, Style, DocType, and JSX global namespace declaration are from react.ts.

    • More detailed description here.
  • builder.ts: This provides several helpers functions to build a static site (as well as the scripts it uses) using deno-tsx (and other tools, like Deno.emit). emit,loaders, and build are from builder.ts.

    • More detailed description here.
  • types.dom.d.ts: This d.ts contains additional type declarations as in DOM API, but not provided by deno. This is useful for frontend JavaScript to pass type check.

    • More detailed description here.