npm install hast-util-to-jsx-runtime preactimport { h } from 'hastscript';import { toJsxRuntime } from 'hast-util-to-jsx-runtime';import { Fragment, jsx, jsxs } from 'preact/jsx-runtime';import render from 'preact-render-to-string'; const vnode = toJsxRuntime(h('h1', 'Hello'), { Fragment, jsx, jsxs, elementAttributeNameCase: 'html'}); console.log(render(vnode));