{"action":"created","issue":{"url":"https://api.github.com/repos/yargs/yargs-parser/issues/2","labels_url":"https://api.github.com/repos/yargs/yargs-parser/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/yargs/yargs-parser/issues/2/comments","events_url":"https://api.github.com/repos/yargs/yargs-parser/issues/2/events","html_url":"https://github.com/yargs/yargs-parser/pull/2","id":129677142,"number":2,"title":"switch to app-root-path module","user":{"login":"bcoe","id":194609,"avatar_url":"https://avatars.githubusercontent.com/u/194609?v=3","gravatar_id":"","url":"https://api.github.com/users/bcoe","html_url":"https://github.com/bcoe","followers_url":"https://api.github.com/users/bcoe/followers","following_url":"https://api.github.com/users/bcoe/following{/other_user}","gists_url":"https://api.github.com/users/bcoe/gists{/gist_id}","starred_url":"https://api.github.com/users/bcoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcoe/subscriptions","organizations_url":"https://api.github.com/users/bcoe/orgs","repos_url":"https://api.github.com/users/bcoe/repos","events_url":"https://api.github.com/users/bcoe/events{/privacy}","received_events_url":"https://api.github.com/users/bcoe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-29T06:11:56Z","updated_at":"2016-01-30T02:18:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/yargs/yargs-parser/pulls/2","html_url":"https://github.com/yargs/yargs-parser/pull/2","diff_url":"https://github.com/yargs/yargs-parser/pull/2.diff","patch_url":"https://github.com/yargs/yargs-parser/pull/2.patch"},"body":"the [app-root-path](https://www.npmjs.com/package/app-root-path) module is well tested, and seems to bring us closer to the behavior I was looking for."},"comment":{"url":"https://api.github.com/repos/yargs/yargs-parser/issues/comments/177047709","html_url":"https://github.com/yargs/yargs-parser/pull/2#issuecomment-177047709","issue_url":"https://api.github.com/repos/yargs/yargs-parser/issues/2","id":177047709,"user":{"login":"bcoe","id":194609,"avatar_url":"https://avatars.githubusercontent.com/u/194609?v=3","gravatar_id":"","url":"https://api.github.com/users/bcoe","html_url":"https://github.com/bcoe","followers_url":"https://api.github.com/users/bcoe/followers","following_url":"https://api.github.com/users/bcoe/following{/other_user}","gists_url":"https://api.github.com/users/bcoe/gists{/gist_id}","starred_url":"https://api.github.com/users/bcoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcoe/subscriptions","organizations_url":"https://api.github.com/users/bcoe/orgs","repos_url":"https://api.github.com/users/bcoe/repos","events_url":"https://api.github.com/users/bcoe/events{/privacy}","received_events_url":"https://api.github.com/users/bcoe/received_events","type":"User","site_admin":false},"created_at":"2016-01-30T02:18:23Z","updated_at":"2016-01-30T02:18:23Z","body":"@sindresorhus @jameswomack I was reading through the documentation for app-root-path and it sounds like there are some edge-cases worth taking into account: the alternatively named -.node_modules folder, globally installed modules. It seemed like it might be worthwhile to use a module that handles any edge-cases we might run into ... @sindresorhus you said the original implementation might miss some edge-cases? I'd like to avoid this."}}