digger-bridge

A client to server bridge for digger requests

digger-bridge

Connector module for digger clients either in node or in the browser.

Turns HTTP requests into digger req objects and converts the response back to HTTP

Server:

 

Browser:

var app = express();
var Bridge = require('digger-bridge');
 
var digger = Bridge(function(reqreply){
    // req is an object 
    // reply is a callback 
})
 
app.use('/digger', digger);
$ npm install digger-bridge