<commit_before>
# &lt;puppet-polymer-client&gt; [![Build Status](https://travis-ci.org/PuppetJs/puppet-polymer-client.svg?branch=gh-pages)](https://travis-ci.org/PuppetJs/puppet-polymer-client)
> Three-way data binding server - JS - HTML kept in flawless sync with JSON Patch, WebSockets/HTTP.

Custom Element that binds [PuppetJs](https://github.com/PuppetJs/PuppetJs) with [Polymer's template binding](https://www.polymer-project.org/1.0/docs/devguide/templates.html).
That keeps your Polymer app, or just `dom-bind` template in sync with any server-side
data-model using Puppet & [JSON Patch](https://tools.ietf.org/html/rfc6902) flow.

You get three-way data binding server - JS - HTML, kept in flawless sync.

    <puppet-client
        obj="{{model}}"></puppet-client>




## Demo

- [Check it live!](http://PuppetJs.github.io/puppet-polymer-client)
- [test suite](http://PuppetJs.github.io/puppet-polymer-client/test)


## Install

Install the component using [Bower](http://bower.io/):

```sh
$ bower install puppet-polymer-client --save
```

Or [download as ZIP](https://github.com/PuppetJs/puppet-polymer-client/archive/gh-pages.zip).

## Usage
<commit_msg>Update readme to point directly to demo. #20<commit_after>
# &lt;puppet-polymer-client&gt; [![Build Status](https://travis-ci.org/PuppetJs/puppet-polymer-client.svg?branch=gh-pages)](https://travis-ci.org/PuppetJs/puppet-polymer-client)
> Three-way data binding server - JS - HTML kept in flawless sync with JSON Patch, WebSockets/HTTP.

Custom Element that binds [PuppetJs](https://github.com/PuppetJs/PuppetJs) with [Polymer's template binding](https://www.polymer-project.org/1.0/docs/devguide/templates.html).
That keeps your Polymer app, or just `dom-bind` template in sync with any server-side
data-model using Puppet & [JSON Patch](https://tools.ietf.org/html/rfc6902) flow.

You get three-way data binding server - JS - HTML, kept in flawless sync.

    <puppet-client
        obj="{{model}}"></puppet-client>




## Demo

- [Check it live!](http://PuppetJs.github.io/puppet-polymer-client/demo)
- [test suite](http://PuppetJs.github.io/puppet-polymer-client/test)


## Install

Install the component using [Bower](http://bower.io/):

```sh
$ bower install puppet-polymer-client --save
```

Or [download as ZIP](https://github.com/PuppetJs/puppet-polymer-client/archive/gh-pages.zip).

## Usage

{'fraction_non_alphanumeric': 0.15822784810126583, 'fraction_numerical': 0.00590717299578059, 'mean_word_length': 4.292410714285714, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, 'https://': 12, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1132317', 'n_tokens_mistral': 870, 'n_tokens_neox': 820, 'n_words': 173}