Middleware module for koajs server (nodejs).