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

    tower-templatepublic

    Tower Template

    Client-side reactive templates (just plain DOM node manipulation, no strings).

    Installation

    $ component install tower/template

    Example

    var template = require('tower-template');
    var element = document.querySelector('#todos');
    var fn = template(element);
    fn({ some: 'data' }); // applies "scope" (data) to DOM directives. 

    Running Tests

    For client-side testing, build:

    $ component install -d
    $ component build -d

    Then view test/index.html in the browser:

    open test/index.html

    Notes

    License

    MIT

    Bitdeli Badge

    Keywords

    none

    install

    npm i tower-template

    Downloadslast 7 days

    2

    version

    0.1.0

    license

    none

    repository

    github.com

    last publish

    collaborators

    • avatar