@anzaui/engine - v0.6.0
    Preparing search index...

    Function all

    • Load every .html file under rootDir. Symlinked directories are not followed, and symlinked files that resolve outside rootDir are skipped. A missing root gives an empty map.

      Parameters

      • rootDir: string

        The template root.

      • options: LoadOptions = {}

        Escaping mode and size limit.

      Returns Promise<Map<string, Template>>

      Template name to parsed template.

      AnzaError TEMPLATE or NOT_FOUND from one for the first file that fails.