Conver your html code to vtree, base on 2 things:
npm i --save html-vtree
var htmlToVtree = require('html-vtree')
htmlToVtree('<div>hello world</div>', function(err, vtree) {
// vtree will be a VirtualDom Object in vtree
console.log(vtree);
});