{"size": 167, "ext": "js", "max_stars_repo_path": "js/server/socket/SocketPlayerAttacher.js", "max_stars_repo_name": "swellander/saladbowl-js", "max_stars_repo_stars_event_min_datetime": "2020-07-03T04:10:36.000Z", "max_stars_repo_stars_event_max_datetime": "2020-10-30T05:13:52.000Z", "max_issues_repo_path": "js/server/socket/SocketPlayerAttacher.js", "max_issues_repo_name": "swellander/saladbowl-js", "max_issues_repo_issues_event_min_datetime": "2016-01-04T16:57:00.000Z", "max_issues_repo_issues_event_max_datetime": "2021-05-06T21:34:56.000Z", "max_forks_repo_path": "js/server/socket/SocketPlayerAttacher.js", "max_forks_repo_name": "swellander/saladbowl-js", "max_forks_repo_forks_event_min_datetime": "2016-01-22T23:55:35.000Z", "max_forks_repo_forks_event_max_datetime": "2020-11-27T00:22:40.000Z"}
{"max_stars_count": 2, "max_issues_count": 53, "max_forks_count": 4, "avg_line_length": 13.9166666667, "max_line_length": 39, "alphanum_fraction": 0.5628742515}
'use strict';

/**
 * @param socket
 * @param next
 */
module.exports = (socket, next) => {
  socket.user = {
    'id': socket.request.cookies.userId
  };
  next();
};