{"action":"closed","number":45,"pull_request":{"url":"https://api.github.com/repos/caiogondim/logdown.js/pulls/45","id":87468889,"html_url":"https://github.com/caiogondim/logdown.js/pull/45","diff_url":"https://github.com/caiogondim/logdown.js/pull/45.diff","patch_url":"https://github.com/caiogondim/logdown.js/pull/45.patch","issue_url":"https://api.github.com/repos/caiogondim/logdown.js/issues/45","number":45,"state":"closed","locked":false,"title":"Included TypeScript declarations","user":{"login":"bennyn","id":469989,"avatar_url":"https://avatars.githubusercontent.com/u/469989?v=3","gravatar_id":"","url":"https://api.github.com/users/bennyn","html_url":"https://github.com/bennyn","followers_url":"https://api.github.com/users/bennyn/followers","following_url":"https://api.github.com/users/bennyn/following{/other_user}","gists_url":"https://api.github.com/users/bennyn/gists{/gist_id}","starred_url":"https://api.github.com/users/bennyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bennyn/subscriptions","organizations_url":"https://api.github.com/users/bennyn/orgs","repos_url":"https://api.github.com/users/bennyn/repos","events_url":"https://api.github.com/users/bennyn/events{/privacy}","received_events_url":"https://api.github.com/users/bennyn/received_events","type":"User","site_admin":false},"body":"Logdown needs to expose type definitions so that people can use it when writing TypeScript code, see http://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html\r\n\r\nI added a TypeScript definition file, so that logdown.js can be used in a TypeScript application the following way:\r\n\r\n```typescript\r\nimport Logdown = require(\"logdown\");\r\n\r\nlet logger: Logdown = new Logdown();\r\nlogger.info('Hello from Logdown!');\r\n```","created_at":"2016-09-30T10:20:16Z","updated_at":"2016-09-30T13:13:35Z","closed_at":"2016-09-30T13:13:35Z","merged_at":"2016-09-30T13:13:35Z","merge_commit_sha":"4381173dba127b409775aa56da466699b5906583","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/caiogondim/logdown.js/pulls/45/commits","review_comments_url":"https://api.github.com/repos/caiogondim/logdown.js/pulls/45/comments","review_comment_url":"https://api.github.com/repos/caiogondim/logdown.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/caiogondim/logdown.js/issues/45/comments","statuses_url":"https://api.github.com/repos/caiogondim/logdown.js/statuses/88c2a17361b86edd54a8e8b509aab485636bb9bc","head":{"label":"bennyn:typescript-declarations","ref":"typescript-declarations","sha":"88c2a17361b86edd54a8e8b509aab485636bb9bc","user":{"login":"bennyn","id":469989,"avatar_url":"https://avatars.githubusercontent.com/u/469989?v=3","gravatar_id":"","url":"https://api.github.com/users/bennyn","html_url":"https://github.com/bennyn","followers_url":"https://api.github.com/users/bennyn/followers","following_url":"https://api.github.com/users/bennyn/following{/other_user}","gists_url":"https://api.github.com/users/bennyn/gists{/gist_id}","starred_url":"https://api.github.com/users/bennyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bennyn/subscriptions","organizations_url":"https://api.github.com/users/bennyn/orgs","repos_url":"https://api.github.com/users/bennyn/repos","events_url":"https://api.github.com/users/bennyn/events{/privacy}","received_events_url":"https://api.github.com/users/bennyn/received_events","type":"User","site_admin":false},"repo":{"id":69571370,"name":"logdown.js","full_name":"bennyn/logdown.js","owner":{"login":"bennyn","id":469989,"avatar_url":"https://avatars.githubusercontent.com/u/469989?v=3","gravatar_id":"","url":"https://api.github.com/users/bennyn","html_url":"https://github.com/bennyn","followers_url":"https://api.github.com/users/bennyn/followers","following_url":"https://api.github.com/users/bennyn/following{/other_user}","gists_url":"https://api.github.com/users/bennyn/gists{/gist_id}","starred_url":"https://api.github.com/users/bennyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bennyn/subscriptions","organizations_url":"https://api.github.com/users/bennyn/orgs","repos_url":"https://api.github.com/users/bennyn/repos","events_url":"https://api.github.com/users/bennyn/events{/privacy}","received_events_url":"https://api.github.com/users/bennyn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bennyn/logdown.js","description":":notebook: Debug utility with markdown support that runs on browser and server","fork":true,"url":"https://api.github.com/repos/bennyn/logdown.js","forks_url":"https://api.github.com/repos/bennyn/logdown.js/forks","keys_url":"https://api.github.com/repos/bennyn/logdown.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bennyn/logdown.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bennyn/logdown.js/teams","hooks_url":"https://api.github.com/repos/bennyn/logdown.js/hooks","issue_events_url":"https://api.github.com/repos/bennyn/logdown.js/issues/events{/number}","events_url":"https://api.github.com/repos/bennyn/logdown.js/events","assignees_url":"https://api.github.com/repos/bennyn/logdown.js/assignees{/user}","branches_url":"https://api.github.com/repos/bennyn/logdown.js/branches{/branch}","tags_url":"https://api.github.com/repos/bennyn/logdown.js/tags","blobs_url":"https://api.github.com/repos/bennyn/logdown.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bennyn/logdown.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bennyn/logdown.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/bennyn/logdown.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bennyn/logdown.js/statuses/{sha}","languages_url":"https://api.github.com/repos/bennyn/logdown.js/languages","stargazers_url":"https://api.github.com/repos/bennyn/logdown.js/stargazers","contributors_url":"https://api.github.com/repos/bennyn/logdown.js/contributors","subscribers_url":"https://api.github.com/repos/bennyn/logdown.js/subscribers","subscription_url":"https://api.github.com/repos/bennyn/logdown.js/subscription","commits_url":"https://api.github.com/repos/bennyn/logdown.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/bennyn/logdown.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/bennyn/logdown.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/bennyn/logdown.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/bennyn/logdown.js/contents/{+path}","compare_url":"https://api.github.com/repos/bennyn/logdown.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bennyn/logdown.js/merges","archive_url":"https://api.github.com/repos/bennyn/logdown.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bennyn/logdown.js/downloads","issues_url":"https://api.github.com/repos/bennyn/logdown.js/issues{/number}","pulls_url":"https://api.github.com/repos/bennyn/logdown.js/pulls{/number}","milestones_url":"https://api.github.com/repos/bennyn/logdown.js/milestones{/number}","notifications_url":"https://api.github.com/repos/bennyn/logdown.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bennyn/logdown.js/labels{/name}","releases_url":"https://api.github.com/repos/bennyn/logdown.js/releases{/id}","deployments_url":"https://api.github.com/repos/bennyn/logdown.js/deployments","created_at":"2016-09-29T13:42:49Z","updated_at":"2016-09-29T13:42:50Z","pushed_at":"2016-09-30T10:48:11Z","git_url":"git://github.com/bennyn/logdown.js.git","ssh_url":"git@github.com:bennyn/logdown.js.git","clone_url":"https://github.com/bennyn/logdown.js.git","svn_url":"https://github.com/bennyn/logdown.js","homepage":"http://caiogondim.github.io/logdown.js/","size":2204,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"caiogondim:master","ref":"master","sha":"8b3fb465e00992b7e858b995fddbaf354978bda0","user":{"login":"caiogondim","id":33044,"avatar_url":"https://avatars.githubusercontent.com/u/33044?v=3","gravatar_id":"","url":"https://api.github.com/users/caiogondim","html_url":"https://github.com/caiogondim","followers_url":"https://api.github.com/users/caiogondim/followers","following_url":"https://api.github.com/users/caiogondim/following{/other_user}","gists_url":"https://api.github.com/users/caiogondim/gists{/gist_id}","starred_url":"https://api.github.com/users/caiogondim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caiogondim/subscriptions","organizations_url":"https://api.github.com/users/caiogondim/orgs","repos_url":"https://api.github.com/users/caiogondim/repos","events_url":"https://api.github.com/users/caiogondim/events{/privacy}","received_events_url":"https://api.github.com/users/caiogondim/received_events","type":"User","site_admin":false},"repo":{"id":30312680,"name":"logdown.js","full_name":"caiogondim/logdown.js","owner":{"login":"caiogondim","id":33044,"avatar_url":"https://avatars.githubusercontent.com/u/33044?v=3","gravatar_id":"","url":"https://api.github.com/users/caiogondim","html_url":"https://github.com/caiogondim","followers_url":"https://api.github.com/users/caiogondim/followers","following_url":"https://api.github.com/users/caiogondim/following{/other_user}","gists_url":"https://api.github.com/users/caiogondim/gists{/gist_id}","starred_url":"https://api.github.com/users/caiogondim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caiogondim/subscriptions","organizations_url":"https://api.github.com/users/caiogondim/orgs","repos_url":"https://api.github.com/users/caiogondim/repos","events_url":"https://api.github.com/users/caiogondim/events{/privacy}","received_events_url":"https://api.github.com/users/caiogondim/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/caiogondim/logdown.js","description":":notebook: Debug utility with markdown support that runs on browser and server","fork":false,"url":"https://api.github.com/repos/caiogondim/logdown.js","forks_url":"https://api.github.com/repos/caiogondim/logdown.js/forks","keys_url":"https://api.github.com/repos/caiogondim/logdown.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/caiogondim/logdown.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/caiogondim/logdown.js/teams","hooks_url":"https://api.github.com/repos/caiogondim/logdown.js/hooks","issue_events_url":"https://api.github.com/repos/caiogondim/logdown.js/issues/events{/number}","events_url":"https://api.github.com/repos/caiogondim/logdown.js/events","assignees_url":"https://api.github.com/repos/caiogondim/logdown.js/assignees{/user}","branches_url":"https://api.github.com/repos/caiogondim/logdown.js/branches{/branch}","tags_url":"https://api.github.com/repos/caiogondim/logdown.js/tags","blobs_url":"https://api.github.com/repos/caiogondim/logdown.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/caiogondim/logdown.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/caiogondim/logdown.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/caiogondim/logdown.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/caiogondim/logdown.js/statuses/{sha}","languages_url":"https://api.github.com/repos/caiogondim/logdown.js/languages","stargazers_url":"https://api.github.com/repos/caiogondim/logdown.js/stargazers","contributors_url":"https://api.github.com/repos/caiogondim/logdown.js/contributors","subscribers_url":"https://api.github.com/repos/caiogondim/logdown.js/subscribers","subscription_url":"https://api.github.com/repos/caiogondim/logdown.js/subscription","commits_url":"https://api.github.com/repos/caiogondim/logdown.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/caiogondim/logdown.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/caiogondim/logdown.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/caiogondim/logdown.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/caiogondim/logdown.js/contents/{+path}","compare_url":"https://api.github.com/repos/caiogondim/logdown.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/caiogondim/logdown.js/merges","archive_url":"https://api.github.com/repos/caiogondim/logdown.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/caiogondim/logdown.js/downloads","issues_url":"https://api.github.com/repos/caiogondim/logdown.js/issues{/number}","pulls_url":"https://api.github.com/repos/caiogondim/logdown.js/pulls{/number}","milestones_url":"https://api.github.com/repos/caiogondim/logdown.js/milestones{/number}","notifications_url":"https://api.github.com/repos/caiogondim/logdown.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/caiogondim/logdown.js/labels{/name}","releases_url":"https://api.github.com/repos/caiogondim/logdown.js/releases{/id}","deployments_url":"https://api.github.com/repos/caiogondim/logdown.js/deployments","created_at":"2015-02-04T17:54:42Z","updated_at":"2016-09-24T04:28:22Z","pushed_at":"2016-09-30T13:13:35Z","git_url":"git://github.com/caiogondim/logdown.js.git","ssh_url":"git@github.com:caiogondim/logdown.js.git","clone_url":"https://github.com/caiogondim/logdown.js.git","svn_url":"https://github.com/caiogondim/logdown.js","homepage":"http://caiogondim.github.io/logdown.js/","size":2212,"stargazers_count":680,"watchers_count":680,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":24,"mirror_url":null,"open_issues_count":15,"forks":24,"open_issues":15,"watchers":680,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/caiogondim/logdown.js/pulls/45"},"html":{"href":"https://github.com/caiogondim/logdown.js/pull/45"},"issue":{"href":"https://api.github.com/repos/caiogondim/logdown.js/issues/45"},"comments":{"href":"https://api.github.com/repos/caiogondim/logdown.js/issues/45/comments"},"review_comments":{"href":"https://api.github.com/repos/caiogondim/logdown.js/pulls/45/comments"},"review_comment":{"href":"https://api.github.com/repos/caiogondim/logdown.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/caiogondim/logdown.js/pulls/45/commits"},"statuses":{"href":"https://api.github.com/repos/caiogondim/logdown.js/statuses/88c2a17361b86edd54a8e8b509aab485636bb9bc"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"caiogondim","id":33044,"avatar_url":"https://avatars.githubusercontent.com/u/33044?v=3","gravatar_id":"","url":"https://api.github.com/users/caiogondim","html_url":"https://github.com/caiogondim","followers_url":"https://api.github.com/users/caiogondim/followers","following_url":"https://api.github.com/users/caiogondim/following{/other_user}","gists_url":"https://api.github.com/users/caiogondim/gists{/gist_id}","starred_url":"https://api.github.com/users/caiogondim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caiogondim/subscriptions","organizations_url":"https://api.github.com/users/caiogondim/orgs","repos_url":"https://api.github.com/users/caiogondim/repos","events_url":"https://api.github.com/users/caiogondim/events{/privacy}","received_events_url":"https://api.github.com/users/caiogondim/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":4,"additions":13,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"caiogondim"}}