digger-bridge

A client to server bridge for digger requests

npm install digger-bridge
19 downloads in the last week
58 downloads in the last month

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

usage

Server:



Browser:

var app = express();
var Bridge = require('digger-bridge');

var digger = Bridge(function(req, reply){
    // req is an object
    // reply is a callback
})

app.use('/digger', digger);

install

$ npm install digger-bridge
npm loves you