Skip to content
This repository was archived by the owner on Dec 23, 2018. It is now read-only.

crcn/mesh-remote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

var mesh   = require("mesh");
var memory = require("mesh-memory");
var remote = require("mesh-remote");
var io     = require("socket.io-client");

var bus = mesh.tailable(memory());

bus(mesh.op("tail")).pipe(mesh.open(remote({
  channel: "channelName",
  client: io("http://127.0.0.1")
})));


// syntax
remote({
  channel: "blarg",
  client: {
    on: function(channel, handler) {
    },
    emit: function(channel, operation) {
    }
  }
});

About

remote client adapter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published