UNPKG

@hyperapp/render

Version:

Render Hyperapp to an HTML string with SSR and Node.js streaming support

14 lines (11 loc) 279 B
import { View } from 'hyperapp' 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