microsoft-fast-convert is a tool designed to convert FAST declarative syntax into either WebUI prerelease HTML or FAST v3 TypeScript source.
It accepts a single <f-template> string, validates the supported subset, and processes it through a conversion pipeline. The tool uses a hand scanner rather than a full HTML parser to maintain a lightweight dependency profile.
Conversion Pipeline
- Parse Syntax: Determines if the target is
webui-prerelease or fast-v3-ts. - Validate: Ensures there is exactly one outer
<f-template name="..."> tag. - Extract: Pulls exactly one inner
<template> element. - Convert: Dispatches to the specific target converter.