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>');
Transform HTML to Snabbdom VNodes.
npm install html-to-snabbdom
import { h2v } from 'html-to-snabbdom';
const vnode = h2v('<div class="foo">Hello World</div>');
npm i html-to-snabbdom
0
0.0.3
MIT
18.4 kB
11