{"size": 318, "ext": "js", "max_stars_repo_path": "index/routes/networks.js", "max_stars_repo_name": "ludovic-chaboud/docker-dashboard", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "index/routes/networks.js", "max_issues_repo_name": "ludovic-chaboud/docker-dashboard", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "index/routes/networks.js", "max_forks_repo_name": "ludovic-chaboud/docker-dashboard", "max_forks_repo_forks_event_min_datetime": "2018-06-01T14:28:29.000Z", "max_forks_repo_forks_event_max_datetime": "2018-06-04T12:02:59.000Z"}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": 2, "avg_line_length": 19.875, "max_line_length": 43, "alphanum_fraction": 0.4905660377}
module.exports = (__) => {
  const {app, docker} = __;
  app.get('/networks', function(req, res) {
    docker.listNetworks({
      }, function(err, networks) {
        if(err) {
          res.send(err)
        } else {
          res.send(networks)
        }
      });
  });
  
  require('./networks/networkId')(__);

}