Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    jade-virtualdompublic

    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

    Keywords

    none

    install

    npm i jade-virtualdom

    Downloadsweekly downloads

    20

    version

    0.0.5

    license

    LGPLv3

    repository

    githubgithub

    last publish

    collaborators

    • avatar