UNPKG

node-barefoot

Version:

Barefoot makes code sharing between browser and server reality. Write your application once and run it on both ends of the wire.

9 lines (7 loc) 187 B
var httpMethods = require('methods') , _ = require('underscore') , mock = {}; _.each(httpMethods, function(httpMethod) { mock[httpMethod] = function() { }; }); module.exports = mock;