express-delay
Delay express responses
Use case
You want to test your fancy ajax loaders, spinners and stuff, but your dev machine is too damn fast for that shit!
Usage
var app = ;var delay = ; // Delay all responses for 1 secondapp; // Response will be delayed for 1 secondapp; // ...
Random delay
You can also give it a range of values, which will make the delay random:
// Delay will be between 200 and 500 millisecondsapp;
LICENSE
MIT