Skip to content

basalt / audit-viewer/src / auditViewerHtml

Function: auditViewerHtml() ​

> auditViewerHtml(options?): string

Defined in: audit-viewer/src/html.ts:62

A self-contained HTML page (no dependencies, no build) that browses the audit trail by calling GET {apiBase}/audit and /audit/stats. Serve it from a route (see auditViewerRoutes).

Parameters ​

options? ​

AuditViewerHtmlOptions = {}

Returns ​

string

Released under the MIT License.