0.1.4 • Published 9 years ago
html2hs-args v0.1.4
html2hs-args
pass the converted html into hyperscript to Second argument
demo
var html2hs = require('html2hs-args');
var h = require('hyperscript');
html2hs("<span><span></span></span>", h, function (err, data) {
console.log(data.outerHTML);// > <span><span></span></span>
});