<commit_before># vue-syncers-feathers

> Synchronises feathers services with vue objects, updated in real-time

[![Build Status](https://travis-ci.org/t2t2/vue-syncers-feathers.svg?branch=master)](https://travis-ci.org/t2t2/vue-syncers-feathers)
[![Coverage Status](https://coveralls.io/repos/github/t2t2/vue-syncers-feathers/badge.svg?branch=master)](https://coveralls.io/github/t2t2/vue-syncers-feathers?branch=master)

## Setup

### Webpack/Browserify

`npm install vue-syncers-feathers --save`

```js
// Set up feathers client
// You can do this whatever way you prefer, eg. feathers-client, or a more lightweight shim that exposes approtiate client.service(path)
import feathers from 'feathers/client'
import feathersIO from 'feathers-socketio/client'
import io from 'socket.io-client'
const socket = io()
const client = feathers().configure(feathers.socketio(socket))

// Set up vue & VueSyncersFeathers
import Vue from 'vue'
import VueSyncersFeathers from 'vue-syncers-feathers'

Vue.use(VueSyncersFeathers, {
	driverOptions: {
		feathers: client,
	},
})
```

### Configuration

* `driver` **[ADVANCED]** - Swapping out driver that does fetching and keeping up to date with feathers server (Yes, you
could technically write a driver for firebase/meteor/manual... and split the core off to it's own thing)<commit_msg>Linking changelog in description<commit_after># vue-syncers-feathers

> Synchronises feathers services with vue objects, updated in real-time

[![Build Status](https://travis-ci.org/t2t2/vue-syncers-feathers.svg?branch=master)](https://travis-ci.org/t2t2/vue-syncers-feathers)
[![Coverage Status](https://coveralls.io/repos/github/t2t2/vue-syncers-feathers/badge.svg?branch=master)](https://coveralls.io/github/t2t2/vue-syncers-feathers?branch=master)

[Changelog on GitHub releases](https://github.com/t2t2/vue-syncers-feathers/releases)

## Setup

### Webpack/Browserify

`npm install vue-syncers-feathers --save`

```js
// Set up feathers client
// You can do this whatever way you prefer, eg. feathers-client, or a more lightweight shim that exposes approtiate client.service(path)
import feathers from 'feathers/client'
import feathersIO from 'feathers-socketio/client'
import io from 'socket.io-client'
const socket = io()
const client = feathers().configure(feathers.socketio(socket))

// Set up vue & VueSyncersFeathers
import Vue from 'vue'
import VueSyncersFeathers from 'vue-syncers-feathers'

Vue.use(VueSyncersFeathers, {
	driverOptions: {
		feathers: client,
	},
})
```

### Configuration

* `driver` **[ADVANCED]** - Swapping out driver that does fetching and keeping up to date with feathers server (Yes, you
could technically write a driver for firebase/meteor/manual... and split the core off to it's own thing)
{'fraction_non_alphanumeric': 0.12681686046511628, 'fraction_numerical': 0.006540697674418605, 'mean_word_length': 5.214446952595937, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 9, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '390767', 'n_tokens_mistral': 937, 'n_tokens_neox': 921, 'n_words': 234}