0.1.0 • Published 8 years ago
html2jsx v0.1.0
html2jsx
https://xaviervia.github.io/html2jsx
npm i -g html2jsx
html2jsx index.html
html2jsx Icon.svg
import html2jsx from 'html2jsx'
const html = `<h1 class="hello">Hello JSX</h1>`
console.log(html2jsx(html, {name: 'Example'}))
0.1.0
8 years ago