{"size": 257, "ext": "js", "max_stars_repo_path": "src/server/middleware/index.js", "max_stars_repo_name": "kristianmandrup/github-graphql", "max_stars_repo_stars_event_min_datetime": "2015-09-21T12:54:56.000Z", "max_stars_repo_stars_event_max_datetime": "2017-12-20T20:56:01.000Z", "max_issues_repo_path": "src/server/middleware/index.js", "max_issues_repo_name": "kristianmandrup/github-graphql", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/server/middleware/index.js", "max_forks_repo_name": "kristianmandrup/github-graphql", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 19.7692307692, "max_line_length": 92, "alphanum_fraction": 0.579766537}
const mws = ['basic', 'logger', 'errors', 'routers', 'static', 'session', 'authentication'];

let mwMap = {};
for (let mw of mws) {
  mwMap[mw] = require(`./${mw}-mw`);
}

export default function(app) {
  for (let name of mws) {
    mwMap[name](app);
  }
}
