{"action":"opened","number":737,"pull_request":{"url":"https://api.github.com/repos/yargs/yargs/pulls/737","id":99245372,"html_url":"https://github.com/yargs/yargs/pull/737","diff_url":"https://github.com/yargs/yargs/pull/737.diff","patch_url":"https://github.com/yargs/yargs/pull/737.patch","issue_url":"https://api.github.com/repos/yargs/yargs/issues/737","number":737,"state":"open","locked":false,"title":"refactor: use process.stdout.columns instead of dep","user":{"login":"maxrimue","id":7421183,"avatar_url":"https://avatars.githubusercontent.com/u/7421183?v=3","gravatar_id":"","url":"https://api.github.com/users/maxrimue","html_url":"https://github.com/maxrimue","followers_url":"https://api.github.com/users/maxrimue/followers","following_url":"https://api.github.com/users/maxrimue/following{/other_user}","gists_url":"https://api.github.com/users/maxrimue/gists{/gist_id}","starred_url":"https://api.github.com/users/maxrimue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxrimue/subscriptions","organizations_url":"https://api.github.com/users/maxrimue/orgs","repos_url":"https://api.github.com/users/maxrimue/repos","events_url":"https://api.github.com/users/maxrimue/events{/privacy}","received_events_url":"https://api.github.com/users/maxrimue/received_events","type":"User","site_admin":false},"body":"I was able to remove the dependency `window-size` and instead use `process.stdout.columns` which effectively does the same thing but seems to be much less resource hungry.","created_at":"2016-12-23T14:00:00Z","updated_at":"2016-12-23T14:00:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/yargs/yargs/pulls/737/commits","review_comments_url":"https://api.github.com/repos/yargs/yargs/pulls/737/comments","review_comment_url":"https://api.github.com/repos/yargs/yargs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yargs/yargs/issues/737/comments","statuses_url":"https://api.github.com/repos/yargs/yargs/statuses/8ecf9d674865de4c360e15d645abe6fff4c91c46","head":{"label":"yargs:remove_window-width","ref":"remove_window-width","sha":"8ecf9d674865de4c360e15d645abe6fff4c91c46","user":{"login":"yargs","id":16504989,"avatar_url":"https://avatars.githubusercontent.com/u/16504989?v=3","gravatar_id":"","url":"https://api.github.com/users/yargs","html_url":"https://github.com/yargs","followers_url":"https://api.github.com/users/yargs/followers","following_url":"https://api.github.com/users/yargs/following{/other_user}","gists_url":"https://api.github.com/users/yargs/gists{/gist_id}","starred_url":"https://api.github.com/users/yargs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yargs/subscriptions","organizations_url":"https://api.github.com/users/yargs/orgs","repos_url":"https://api.github.com/users/yargs/repos","events_url":"https://api.github.com/users/yargs/events{/privacy}","received_events_url":"https://api.github.com/users/yargs/received_events","type":"Organization","site_admin":false},"repo":{"id":14210523,"name":"yargs","full_name":"yargs/yargs","owner":{"login":"yargs","id":16504989,"avatar_url":"https://avatars.githubusercontent.com/u/16504989?v=3","gravatar_id":"","url":"https://api.github.com/users/yargs","html_url":"https://github.com/yargs","followers_url":"https://api.github.com/users/yargs/followers","following_url":"https://api.github.com/users/yargs/following{/other_user}","gists_url":"https://api.github.com/users/yargs/gists{/gist_id}","starred_url":"https://api.github.com/users/yargs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yargs/subscriptions","organizations_url":"https://api.github.com/users/yargs/orgs","repos_url":"https://api.github.com/users/yargs/repos","events_url":"https://api.github.com/users/yargs/events{/privacy}","received_events_url":"https://api.github.com/users/yargs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yargs/yargs","description":" yargs the modern, pirate-themed successor to optimist.","fork":false,"url":"https://api.github.com/repos/yargs/yargs","forks_url":"https://api.github.com/repos/yargs/yargs/forks","keys_url":"https://api.github.com/repos/yargs/yargs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yargs/yargs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yargs/yargs/teams","hooks_url":"https://api.github.com/repos/yargs/yargs/hooks","issue_events_url":"https://api.github.com/repos/yargs/yargs/issues/events{/number}","events_url":"https://api.github.com/repos/yargs/yargs/events","assignees_url":"https://api.github.com/repos/yargs/yargs/assignees{/user}","branches_url":"https://api.github.com/repos/yargs/yargs/branches{/branch}","tags_url":"https://api.github.com/repos/yargs/yargs/tags","blobs_url":"https://api.github.com/repos/yargs/yargs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yargs/yargs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yargs/yargs/git/refs{/sha}","trees_url":"https://api.github.com/repos/yargs/yargs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yargs/yargs/statuses/{sha}","languages_url":"https://api.github.com/repos/yargs/yargs/languages","stargazers_url":"https://api.github.com/repos/yargs/yargs/stargazers","contributors_url":"https://api.github.com/repos/yargs/yargs/contributors","subscribers_url":"https://api.github.com/repos/yargs/yargs/subscribers","subscription_url":"https://api.github.com/repos/yargs/yargs/subscription","commits_url":"https://api.github.com/repos/yargs/yargs/commits{/sha}","git_commits_url":"https://api.github.com/repos/yargs/yargs/git/commits{/sha}","comments_url":"https://api.github.com/repos/yargs/yargs/comments{/number}","issue_comment_url":"https://api.github.com/repos/yargs/yargs/issues/comments{/number}","contents_url":"https://api.github.com/repos/yargs/yargs/contents/{+path}","compare_url":"https://api.github.com/repos/yargs/yargs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yargs/yargs/merges","archive_url":"https://api.github.com/repos/yargs/yargs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yargs/yargs/downloads","issues_url":"https://api.github.com/repos/yargs/yargs/issues{/number}","pulls_url":"https://api.github.com/repos/yargs/yargs/pulls{/number}","milestones_url":"https://api.github.com/repos/yargs/yargs/milestones{/number}","notifications_url":"https://api.github.com/repos/yargs/yargs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yargs/yargs/labels{/name}","releases_url":"https://api.github.com/repos/yargs/yargs/releases{/id}","deployments_url":"https://api.github.com/repos/yargs/yargs/deployments","created_at":"2013-11-07T17:25:51Z","updated_at":"2016-12-23T10:36:31Z","pushed_at":"2016-12-23T13:57:19Z","git_url":"git://github.com/yargs/yargs.git","ssh_url":"git@github.com:yargs/yargs.git","clone_url":"https://github.com/yargs/yargs.git","svn_url":"https://github.com/yargs/yargs","homepage":"http://yargs.js.org/","size":1483,"stargazers_count":2357,"watchers_count":2357,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":178,"mirror_url":null,"open_issues_count":76,"forks":178,"open_issues":76,"watchers":2357,"default_branch":"master"}},"base":{"label":"yargs:master","ref":"master","sha":"f755e2756b227555e0f11e58ecfb6bc1a38cbca0","user":{"login":"yargs","id":16504989,"avatar_url":"https://avatars.githubusercontent.com/u/16504989?v=3","gravatar_id":"","url":"https://api.github.com/users/yargs","html_url":"https://github.com/yargs","followers_url":"https://api.github.com/users/yargs/followers","following_url":"https://api.github.com/users/yargs/following{/other_user}","gists_url":"https://api.github.com/users/yargs/gists{/gist_id}","starred_url":"https://api.github.com/users/yargs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yargs/subscriptions","organizations_url":"https://api.github.com/users/yargs/orgs","repos_url":"https://api.github.com/users/yargs/repos","events_url":"https://api.github.com/users/yargs/events{/privacy}","received_events_url":"https://api.github.com/users/yargs/received_events","type":"Organization","site_admin":false},"repo":{"id":14210523,"name":"yargs","full_name":"yargs/yargs","owner":{"login":"yargs","id":16504989,"avatar_url":"https://avatars.githubusercontent.com/u/16504989?v=3","gravatar_id":"","url":"https://api.github.com/users/yargs","html_url":"https://github.com/yargs","followers_url":"https://api.github.com/users/yargs/followers","following_url":"https://api.github.com/users/yargs/following{/other_user}","gists_url":"https://api.github.com/users/yargs/gists{/gist_id}","starred_url":"https://api.github.com/users/yargs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yargs/subscriptions","organizations_url":"https://api.github.com/users/yargs/orgs","repos_url":"https://api.github.com/users/yargs/repos","events_url":"https://api.github.com/users/yargs/events{/privacy}","received_events_url":"https://api.github.com/users/yargs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yargs/yargs","description":" yargs the modern, pirate-themed successor to optimist.","fork":false,"url":"https://api.github.com/repos/yargs/yargs","forks_url":"https://api.github.com/repos/yargs/yargs/forks","keys_url":"https://api.github.com/repos/yargs/yargs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yargs/yargs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yargs/yargs/teams","hooks_url":"https://api.github.com/repos/yargs/yargs/hooks","issue_events_url":"https://api.github.com/repos/yargs/yargs/issues/events{/number}","events_url":"https://api.github.com/repos/yargs/yargs/events","assignees_url":"https://api.github.com/repos/yargs/yargs/assignees{/user}","branches_url":"https://api.github.com/repos/yargs/yargs/branches{/branch}","tags_url":"https://api.github.com/repos/yargs/yargs/tags","blobs_url":"https://api.github.com/repos/yargs/yargs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yargs/yargs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yargs/yargs/git/refs{/sha}","trees_url":"https://api.github.com/repos/yargs/yargs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yargs/yargs/statuses/{sha}","languages_url":"https://api.github.com/repos/yargs/yargs/languages","stargazers_url":"https://api.github.com/repos/yargs/yargs/stargazers","contributors_url":"https://api.github.com/repos/yargs/yargs/contributors","subscribers_url":"https://api.github.com/repos/yargs/yargs/subscribers","subscription_url":"https://api.github.com/repos/yargs/yargs/subscription","commits_url":"https://api.github.com/repos/yargs/yargs/commits{/sha}","git_commits_url":"https://api.github.com/repos/yargs/yargs/git/commits{/sha}","comments_url":"https://api.github.com/repos/yargs/yargs/comments{/number}","issue_comment_url":"https://api.github.com/repos/yargs/yargs/issues/comments{/number}","contents_url":"https://api.github.com/repos/yargs/yargs/contents/{+path}","compare_url":"https://api.github.com/repos/yargs/yargs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yargs/yargs/merges","archive_url":"https://api.github.com/repos/yargs/yargs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yargs/yargs/downloads","issues_url":"https://api.github.com/repos/yargs/yargs/issues{/number}","pulls_url":"https://api.github.com/repos/yargs/yargs/pulls{/number}","milestones_url":"https://api.github.com/repos/yargs/yargs/milestones{/number}","notifications_url":"https://api.github.com/repos/yargs/yargs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yargs/yargs/labels{/name}","releases_url":"https://api.github.com/repos/yargs/yargs/releases{/id}","deployments_url":"https://api.github.com/repos/yargs/yargs/deployments","created_at":"2013-11-07T17:25:51Z","updated_at":"2016-12-23T10:36:31Z","pushed_at":"2016-12-23T13:57:19Z","git_url":"git://github.com/yargs/yargs.git","ssh_url":"git@github.com:yargs/yargs.git","clone_url":"https://github.com/yargs/yargs.git","svn_url":"https://github.com/yargs/yargs","homepage":"http://yargs.js.org/","size":1483,"stargazers_count":2357,"watchers_count":2357,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":178,"mirror_url":null,"open_issues_count":76,"forks":178,"open_issues":76,"watchers":2357,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yargs/yargs/pulls/737"},"html":{"href":"https://github.com/yargs/yargs/pull/737"},"issue":{"href":"https://api.github.com/repos/yargs/yargs/issues/737"},"comments":{"href":"https://api.github.com/repos/yargs/yargs/issues/737/comments"},"review_comments":{"href":"https://api.github.com/repos/yargs/yargs/pulls/737/comments"},"review_comment":{"href":"https://api.github.com/repos/yargs/yargs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yargs/yargs/pulls/737/commits"},"statuses":{"href":"https://api.github.com/repos/yargs/yargs/statuses/8ecf9d674865de4c360e15d645abe6fff4c91c46"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":7,"deletions":5,"changed_files":2}}
{"actor":{"display_login":"maxrimue"}}