1.0.2 • Published 6 years ago

redux-p2p v1.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

redux-p2p

redux-p2p is a library to replicate redux actions peer to peer that works on the browser and on node. It's scalable since it uses a gossip protocol to propagate all actions instead of doing a full mesh.

Features

  • scalable
  • secure

Install

npm install --save redux-p2p

Usage

Options

  • store
  • id
  • wrtc
  • tail = false
  • maxPeers = Infinity
  • peerMetadata = {}
  • topology = true
  • actionFilter = /.*/

Actions

Examples

A P2P chat app on Can exchange files Works on node

On examples folders there are

How it works

A video is available here

There is also a blog post here

Related

  • hyperlog
  • stream-teleport

caiogondim.com  ·  GitHub @caiogondim  ·  Twitter @caio_gondim