Browse documentation

htmlToHyperscript

Converts HTML text into hyperscript source.

Table of contents

Category

Value

Import

js
import { htmlToHyperscript } from "valyrian.js/node";

Public signature

ts
(html: string): string

Parameters

ts
html: string

Result

ts
string