{"action":"created","issue":{"url":"https://api.github.com/repos/iojs/io.js/issues/1670","labels_url":"https://api.github.com/repos/iojs/io.js/issues/1670/labels{/name}","comments_url":"https://api.github.com/repos/iojs/io.js/issues/1670/comments","events_url":"https://api.github.com/repos/iojs/io.js/issues/1670/events","html_url":"https://github.com/iojs/io.js/pull/1670","id":74989314,"number":1670,"title":"os: add .homedir()","user":{"login":"robertkowalski","id":298166,"avatar_url":"https://avatars.githubusercontent.com/u/298166?v=3","gravatar_id":"","url":"https://api.github.com/users/robertkowalski","html_url":"https://github.com/robertkowalski","followers_url":"https://api.github.com/users/robertkowalski/followers","following_url":"https://api.github.com/users/robertkowalski/following{/other_user}","gists_url":"https://api.github.com/users/robertkowalski/gists{/gist_id}","starred_url":"https://api.github.com/users/robertkowalski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertkowalski/subscriptions","organizations_url":"https://api.github.com/users/robertkowalski/orgs","repos_url":"https://api.github.com/users/robertkowalski/repos","events_url":"https://api.github.com/users/robertkowalski/events{/privacy}","received_events_url":"https://api.github.com/users/robertkowalski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-10T19:52:46Z","updated_at":"2015-05-10T19:54:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/iojs/io.js/pulls/1670","html_url":"https://github.com/iojs/io.js/pull/1670","diff_url":"https://github.com/iojs/io.js/pull/1670.diff","patch_url":"https://github.com/iojs/io.js/pull/1670.patch"},"body":"In almost every cli-client that I write I need the current homedir\r\nat a certain point.\r\n\r\nWhile we have a function for getting the directory for storing\r\ntemporary files (callled `tmpdir`), a function for receiving the\r\nlocation of the home directory is still missing."},"comment":{"url":"https://api.github.com/repos/iojs/io.js/issues/comments/100688850","html_url":"https://github.com/iojs/io.js/pull/1670#issuecomment-100688850","issue_url":"https://api.github.com/repos/iojs/io.js/issues/1670","id":100688850,"user":{"login":"trevnorris","id":289174,"avatar_url":"https://avatars.githubusercontent.com/u/289174?v=3","gravatar_id":"","url":"https://api.github.com/users/trevnorris","html_url":"https://github.com/trevnorris","followers_url":"https://api.github.com/users/trevnorris/followers","following_url":"https://api.github.com/users/trevnorris/following{/other_user}","gists_url":"https://api.github.com/users/trevnorris/gists{/gist_id}","starred_url":"https://api.github.com/users/trevnorris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trevnorris/subscriptions","organizations_url":"https://api.github.com/users/trevnorris/orgs","repos_url":"https://api.github.com/users/trevnorris/repos","events_url":"https://api.github.com/users/trevnorris/events{/privacy}","received_events_url":"https://api.github.com/users/trevnorris/received_events","type":"User","site_admin":false},"created_at":"2015-05-10T19:54:00Z","updated_at":"2015-05-10T19:54:00Z","body":"What happens if `process.env.{HOME,USERPROFILE}` isn't set?"}}