jsdm.middle

jsdm middleware for express.js

npm install jsdm.middle
1 downloads in the last day
1 downloads in the last week
31 downloads in the last month

jsdm.middle

jsdm middleware for express.js

install

npm install jsdm.middle

use at express

    var io = require("socket.io").listen(...),
        domain = require("jsdm")(),
        query = require("./query"),
        plugin = new Middle(domain,query,domainNameSpache,io);

    plugin.addOnFilter(function(req,res,done){
       ...
       done();
    });

    plugin.addExecFilter(...);
    plugin.addQueryFilter(...);
npm loves you