{"size": 178, "ext": "js", "max_stars_repo_path": "res/koa/_init_views.js", "max_stars_repo_name": "boltkit/bolt", "max_stars_repo_stars_event_min_datetime": "2022-03-17T08:46:55.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-17T08:46:55.000Z", "max_issues_repo_path": "res/koa/_init_views.js", "max_issues_repo_name": "boltkit/bolt", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "res/koa/_init_views.js", "max_forks_repo_name": "boltkit/bolt", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 14.8333333333, "max_line_length": 44, "alphanum_fraction": 0.5786516854}
const views = require('koa-views');

const render = views(__dirname + '/views', {
  map: {
    html: 'ejs'
  }
});

module.exports = ({koa}) => {
  koa.useMiddleware(render);
};
