hyperapp-render
Version:
Render Hyperapp to an HTML string with SSR and Node.js streaming support
18 lines (13 loc) • 401 B
TypeScript
export function escapeHtml(value: any): string
export function concatClassNames(value: any): string
export function stringifyStyles(style: any): string
export function renderer<View, State, Actions>(
view: View,
state?: State,
actions?: Actions,
): (bytes: number) => string
export function renderToString<View, State, Actions>(
view: View,
state?: State,
actions?: Actions,
): string