Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 232 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 232 Bytes

html-to-snabbdom

Transform HTML to Snabbdom VNodes.

Installation

npm install html-to-snabbdom

Usage

import { h2v } from 'html-to-snabbdom';

const vnode = h2v('<div class="foo">Hello World</div>');