Latest version : 1.1.0

 Last updated on 2018-09-02T16:28:10.797Z

 Keywords : express, mock, restful, router, api

 Downloads :

  • 25 in Last Month

 Links :


No examples found for this package


alpha-utils Build Status

This package includes some utilities used by alpha-scripts


var express = require('express');
var mockMiddleware = require('alpha-utils/mockMiddleware');

var app = express();
app.use(mockMiddleware({path: '/mock'}))


path (default: 'mock')

set the path where the mock files in

disable (default: false)

when set to true, all mock routes are disabled