# tahi

A shared peer-to-peer state for multiple users connected by WebRTC.

## demos

[Basic Chat](http://tahi-chat.surge.sh/)

[Tic-Tac-Toe](./examples/tic-tac-toe)

## use

- Install `yarn add tahi` or `npm install --save tahi`
- TODO: documentation, until then please see the [examples](./examples)

## todo

- [x] Make this list
- [x] Make example with PeerJS
- [x] Make example with Vanilla WebRTC
- [ ] Make documentation
- [x] Make compatible with redux middleware (tested with redux-thunk only)
- [ ] Support Edge, when it implements the data channel for WebRTC. To help push Edge [please vote](https://wpdev.uservoice.com/forums/257854-microsoft-edge-developer/suggestions/8118837-support-webrtc-datachannels-in-workers).
