{"action":"opened","number":55,"pull_request":{"url":"https://api.github.com/repos/runk/node-maxmind/pulls/55","id":89514912,"html_url":"https://github.com/runk/node-maxmind/pull/55","diff_url":"https://github.com/runk/node-maxmind/pull/55.diff","patch_url":"https://github.com/runk/node-maxmind/pull/55.patch","issue_url":"https://api.github.com/repos/runk/node-maxmind/issues/55","number":55,"state":"open","locked":false,"title":"api: expose reader","user":{"login":"jonathanong","id":643505,"avatar_url":"https://avatars.githubusercontent.com/u/643505?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathanong","html_url":"https://github.com/jonathanong","followers_url":"https://api.github.com/users/jonathanong/followers","following_url":"https://api.github.com/users/jonathanong/following{/other_user}","gists_url":"https://api.github.com/users/jonathanong/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanong/subscriptions","organizations_url":"https://api.github.com/users/jonathanong/orgs","repos_url":"https://api.github.com/users/jonathanong/repos","events_url":"https://api.github.com/users/jonathanong/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanong/received_events","type":"User","site_admin":false},"body":"since open is just a wrapper around fs readfile, would be nice to just expose the reader.\r\n\r\nbecause i have to support windows, something interesting to do would be to download the raw mmdb.gz file, gunzip in node.js, then create a reader myself","created_at":"2016-10-16T03:49:45Z","updated_at":"2016-10-16T03:49:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/runk/node-maxmind/pulls/55/commits","review_comments_url":"https://api.github.com/repos/runk/node-maxmind/pulls/55/comments","review_comment_url":"https://api.github.com/repos/runk/node-maxmind/pulls/comments{/number}","comments_url":"https://api.github.com/repos/runk/node-maxmind/issues/55/comments","statuses_url":"https://api.github.com/repos/runk/node-maxmind/statuses/eac4bbe35ba7e249c0361f91c754cb30ee9f0990","head":{"label":"jonathanong:expose-reader","ref":"expose-reader","sha":"eac4bbe35ba7e249c0361f91c754cb30ee9f0990","user":{"login":"jonathanong","id":643505,"avatar_url":"https://avatars.githubusercontent.com/u/643505?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathanong","html_url":"https://github.com/jonathanong","followers_url":"https://api.github.com/users/jonathanong/followers","following_url":"https://api.github.com/users/jonathanong/following{/other_user}","gists_url":"https://api.github.com/users/jonathanong/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanong/subscriptions","organizations_url":"https://api.github.com/users/jonathanong/orgs","repos_url":"https://api.github.com/users/jonathanong/repos","events_url":"https://api.github.com/users/jonathanong/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanong/received_events","type":"User","site_admin":false},"repo":{"id":71028617,"name":"node-maxmind","full_name":"jonathanong/node-maxmind","owner":{"login":"jonathanong","id":643505,"avatar_url":"https://avatars.githubusercontent.com/u/643505?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathanong","html_url":"https://github.com/jonathanong","followers_url":"https://api.github.com/users/jonathanong/followers","following_url":"https://api.github.com/users/jonathanong/following{/other_user}","gists_url":"https://api.github.com/users/jonathanong/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanong/subscriptions","organizations_url":"https://api.github.com/users/jonathanong/orgs","repos_url":"https://api.github.com/users/jonathanong/repos","events_url":"https://api.github.com/users/jonathanong/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanong/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jonathanong/node-maxmind","description":"Maxmind GEO Lookup ","fork":true,"url":"https://api.github.com/repos/jonathanong/node-maxmind","forks_url":"https://api.github.com/repos/jonathanong/node-maxmind/forks","keys_url":"https://api.github.com/repos/jonathanong/node-maxmind/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jonathanong/node-maxmind/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jonathanong/node-maxmind/teams","hooks_url":"https://api.github.com/repos/jonathanong/node-maxmind/hooks","issue_events_url":"https://api.github.com/repos/jonathanong/node-maxmind/issues/events{/number}","events_url":"https://api.github.com/repos/jonathanong/node-maxmind/events","assignees_url":"https://api.github.com/repos/jonathanong/node-maxmind/assignees{/user}","branches_url":"https://api.github.com/repos/jonathanong/node-maxmind/branches{/branch}","tags_url":"https://api.github.com/repos/jonathanong/node-maxmind/tags","blobs_url":"https://api.github.com/repos/jonathanong/node-maxmind/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jonathanong/node-maxmind/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jonathanong/node-maxmind/git/refs{/sha}","trees_url":"https://api.github.com/repos/jonathanong/node-maxmind/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jonathanong/node-maxmind/statuses/{sha}","languages_url":"https://api.github.com/repos/jonathanong/node-maxmind/languages","stargazers_url":"https://api.github.com/repos/jonathanong/node-maxmind/stargazers","contributors_url":"https://api.github.com/repos/jonathanong/node-maxmind/contributors","subscribers_url":"https://api.github.com/repos/jonathanong/node-maxmind/subscribers","subscription_url":"https://api.github.com/repos/jonathanong/node-maxmind/subscription","commits_url":"https://api.github.com/repos/jonathanong/node-maxmind/commits{/sha}","git_commits_url":"https://api.github.com/repos/jonathanong/node-maxmind/git/commits{/sha}","comments_url":"https://api.github.com/repos/jonathanong/node-maxmind/comments{/number}","issue_comment_url":"https://api.github.com/repos/jonathanong/node-maxmind/issues/comments{/number}","contents_url":"https://api.github.com/repos/jonathanong/node-maxmind/contents/{+path}","compare_url":"https://api.github.com/repos/jonathanong/node-maxmind/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jonathanong/node-maxmind/merges","archive_url":"https://api.github.com/repos/jonathanong/node-maxmind/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jonathanong/node-maxmind/downloads","issues_url":"https://api.github.com/repos/jonathanong/node-maxmind/issues{/number}","pulls_url":"https://api.github.com/repos/jonathanong/node-maxmind/pulls{/number}","milestones_url":"https://api.github.com/repos/jonathanong/node-maxmind/milestones{/number}","notifications_url":"https://api.github.com/repos/jonathanong/node-maxmind/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jonathanong/node-maxmind/labels{/name}","releases_url":"https://api.github.com/repos/jonathanong/node-maxmind/releases{/id}","deployments_url":"https://api.github.com/repos/jonathanong/node-maxmind/deployments","created_at":"2016-10-16T03:47:34Z","updated_at":"2016-10-16T03:47:35Z","pushed_at":"2016-10-16T03:48:49Z","git_url":"git://github.com/jonathanong/node-maxmind.git","ssh_url":"git@github.com:jonathanong/node-maxmind.git","clone_url":"https://github.com/jonathanong/node-maxmind.git","svn_url":"https://github.com/jonathanong/node-maxmind","homepage":"","size":38402,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"runk:master","ref":"master","sha":"8e82ef1f8f59c610e86b248267d41915287338a2","user":{"login":"runk","id":903687,"avatar_url":"https://avatars.githubusercontent.com/u/903687?v=3","gravatar_id":"","url":"https://api.github.com/users/runk","html_url":"https://github.com/runk","followers_url":"https://api.github.com/users/runk/followers","following_url":"https://api.github.com/users/runk/following{/other_user}","gists_url":"https://api.github.com/users/runk/gists{/gist_id}","starred_url":"https://api.github.com/users/runk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runk/subscriptions","organizations_url":"https://api.github.com/users/runk/orgs","repos_url":"https://api.github.com/users/runk/repos","events_url":"https://api.github.com/users/runk/events{/privacy}","received_events_url":"https://api.github.com/users/runk/received_events","type":"User","site_admin":false},"repo":{"id":8670592,"name":"node-maxmind","full_name":"runk/node-maxmind","owner":{"login":"runk","id":903687,"avatar_url":"https://avatars.githubusercontent.com/u/903687?v=3","gravatar_id":"","url":"https://api.github.com/users/runk","html_url":"https://github.com/runk","followers_url":"https://api.github.com/users/runk/followers","following_url":"https://api.github.com/users/runk/following{/other_user}","gists_url":"https://api.github.com/users/runk/gists{/gist_id}","starred_url":"https://api.github.com/users/runk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runk/subscriptions","organizations_url":"https://api.github.com/users/runk/orgs","repos_url":"https://api.github.com/users/runk/repos","events_url":"https://api.github.com/users/runk/events{/privacy}","received_events_url":"https://api.github.com/users/runk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/runk/node-maxmind","description":"Maxmind GEO Lookup ","fork":false,"url":"https://api.github.com/repos/runk/node-maxmind","forks_url":"https://api.github.com/repos/runk/node-maxmind/forks","keys_url":"https://api.github.com/repos/runk/node-maxmind/keys{/key_id}","collaborators_url":"https://api.github.com/repos/runk/node-maxmind/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/runk/node-maxmind/teams","hooks_url":"https://api.github.com/repos/runk/node-maxmind/hooks","issue_events_url":"https://api.github.com/repos/runk/node-maxmind/issues/events{/number}","events_url":"https://api.github.com/repos/runk/node-maxmind/events","assignees_url":"https://api.github.com/repos/runk/node-maxmind/assignees{/user}","branches_url":"https://api.github.com/repos/runk/node-maxmind/branches{/branch}","tags_url":"https://api.github.com/repos/runk/node-maxmind/tags","blobs_url":"https://api.github.com/repos/runk/node-maxmind/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/runk/node-maxmind/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/runk/node-maxmind/git/refs{/sha}","trees_url":"https://api.github.com/repos/runk/node-maxmind/git/trees{/sha}","statuses_url":"https://api.github.com/repos/runk/node-maxmind/statuses/{sha}","languages_url":"https://api.github.com/repos/runk/node-maxmind/languages","stargazers_url":"https://api.github.com/repos/runk/node-maxmind/stargazers","contributors_url":"https://api.github.com/repos/runk/node-maxmind/contributors","subscribers_url":"https://api.github.com/repos/runk/node-maxmind/subscribers","subscription_url":"https://api.github.com/repos/runk/node-maxmind/subscription","commits_url":"https://api.github.com/repos/runk/node-maxmind/commits{/sha}","git_commits_url":"https://api.github.com/repos/runk/node-maxmind/git/commits{/sha}","comments_url":"https://api.github.com/repos/runk/node-maxmind/comments{/number}","issue_comment_url":"https://api.github.com/repos/runk/node-maxmind/issues/comments{/number}","contents_url":"https://api.github.com/repos/runk/node-maxmind/contents/{+path}","compare_url":"https://api.github.com/repos/runk/node-maxmind/compare/{base}...{head}","merges_url":"https://api.github.com/repos/runk/node-maxmind/merges","archive_url":"https://api.github.com/repos/runk/node-maxmind/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/runk/node-maxmind/downloads","issues_url":"https://api.github.com/repos/runk/node-maxmind/issues{/number}","pulls_url":"https://api.github.com/repos/runk/node-maxmind/pulls{/number}","milestones_url":"https://api.github.com/repos/runk/node-maxmind/milestones{/number}","notifications_url":"https://api.github.com/repos/runk/node-maxmind/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/runk/node-maxmind/labels{/name}","releases_url":"https://api.github.com/repos/runk/node-maxmind/releases{/id}","deployments_url":"https://api.github.com/repos/runk/node-maxmind/deployments","created_at":"2013-03-09T14:15:23Z","updated_at":"2016-10-16T03:32:58Z","pushed_at":"2016-10-11T01:55:06Z","git_url":"git://github.com/runk/node-maxmind.git","ssh_url":"git@github.com:runk/node-maxmind.git","clone_url":"https://github.com/runk/node-maxmind.git","svn_url":"https://github.com/runk/node-maxmind","homepage":"","size":38402,"stargazers_count":182,"watchers_count":182,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":5,"forks":26,"open_issues":5,"watchers":182,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/runk/node-maxmind/pulls/55"},"html":{"href":"https://github.com/runk/node-maxmind/pull/55"},"issue":{"href":"https://api.github.com/repos/runk/node-maxmind/issues/55"},"comments":{"href":"https://api.github.com/repos/runk/node-maxmind/issues/55/comments"},"review_comments":{"href":"https://api.github.com/repos/runk/node-maxmind/pulls/55/comments"},"review_comment":{"href":"https://api.github.com/repos/runk/node-maxmind/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/runk/node-maxmind/pulls/55/commits"},"statuses":{"href":"https://api.github.com/repos/runk/node-maxmind/statuses/eac4bbe35ba7e249c0361f91c754cb30ee9f0990"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"jonathanong"}}