{"action":"closed","issue":{"url":"https://api.github.com/repos/Sidstumple/rtw/issues/2","repository_url":"https://api.github.com/repos/Sidstumple/rtw","labels_url":"https://api.github.com/repos/Sidstumple/rtw/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/Sidstumple/rtw/issues/2/comments","events_url":"https://api.github.com/repos/Sidstumple/rtw/issues/2/events","html_url":"https://github.com/Sidstumple/rtw/issues/2","id":221948594,"number":2,"title":"Split `require`s from set-up","user":{"login":"wooorm","id":944406,"avatar_url":"https://avatars3.githubusercontent.com/u/944406?v=3","gravatar_id":"","url":"https://api.github.com/users/wooorm","html_url":"https://github.com/wooorm","followers_url":"https://api.github.com/users/wooorm/followers","following_url":"https://api.github.com/users/wooorm/following{/other_user}","gists_url":"https://api.github.com/users/wooorm/gists{/gist_id}","starred_url":"https://api.github.com/users/wooorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wooorm/subscriptions","organizations_url":"https://api.github.com/users/wooorm/orgs","repos_url":"https://api.github.com/users/wooorm/repos","events_url":"https://api.github.com/users/wooorm/events{/privacy}","received_events_url":"https://api.github.com/users/wooorm/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-15T13:33:22Z","updated_at":"2017-05-27T12:00:53Z","closed_at":"2017-05-27T12:00:53Z","body":"Currently, your server starts as follows:\r\n\r\n```js\r\nvar express = require('express');\r\nvar app = express();\r\nvar server = require('http').createServer(app);\r\nvar io = require('socket.io').listen(server);\r\n```\r\n\r\nbut I think the following is more readable:\r\n\r\n```js\r\nvar express = require('express');\r\nvar http = require('http');\r\nvar socketio = require('socket.io');\r\n\r\nvar app = express();\r\nvar server = http.createServer(app);\r\nvar io = socketio.listen(server);\r\n```\r\n"}}
{"actor":{"display_login":"wooorm"}}