jade-virtualdom

0.0.5 • Public • Published

jade-virtualdom

compile jade templates to virtualdom

Heavily inspired by jade-react

Build Status Coverage Status Dependency Status

Installation

$ npm install jade-virtualdom

Usage

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);

License

LGPLv3

Released as free software as part of ChatGrape

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.5
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.5
    1
  • 0.0.4
    0
  • 0.0.3
    0
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i jade-virtualdom

Weekly Downloads

1

Version

0.0.5

License

LGPLv3

Last publish

Collaborators

  • swatinem