0.0.3 • Published 2 years ago
html-to-snabbdom v0.0.3
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>');