jade-virtualdom

compile jade templates to virtualdom

jade-virtualdom

compile jade templates to virtualdom

Heavily inspired by jade-react

$ npm install jade-virtualdom
var fn = jadeVirtualdom('#jade.is.cool(key=somekey)=somecontent', {some: options});
var vnode = fn({key: '1', somecontent: 'locals \\o/'});
// and then render or diff the virtual dom: 
var node = virtualDom.toDOM(vnode);
document.body.appendChild(node);

LGPLv3

Released as free software as part of ChatGrape