Skip to content
vic

Swatinem/jade-virtualdom

compile jade templates to virtualdom

Swatinem/jade-virtualdom.json
{
"createdAt": "2014-03-24T14:08:41Z",
"defaultBranch": "master",
"description": "compile jade templates to virtualdom",
"fullName": "Swatinem/jade-virtualdom",
"homepage": null,
"language": "JavaScript",
"name": "jade-virtualdom",
"pushedAt": "2015-09-25T22:25:29Z",
"stargazersCount": 22,
"topics": [],
"updatedAt": "2024-11-06T15:50:01Z",
"url": "https://github.com/Swatinem/jade-virtualdom"
}

compile jade templates to virtualdom

Heavily inspired by jade-react

Build Status Coverage Status Dependency Status

$ 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