redux-p2p

1.0.2 • Public • Published

redux-p2p

Travis CI JS standard style

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

/redux-p2p/

    Package Sidebar

    Install

    npm i redux-p2p

    Weekly Downloads

    2

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    11.6 kB

    Total Files

    6

    Last publish

    Collaborators

    • caiogondim