{"action":"created","issue":{"url":"https://api.github.com/repos/thaggie/gulp-json-transform/issues/1","labels_url":"https://api.github.com/repos/thaggie/gulp-json-transform/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/thaggie/gulp-json-transform/issues/1/comments","events_url":"https://api.github.com/repos/thaggie/gulp-json-transform/issues/1/events","html_url":"https://github.com/thaggie/gulp-json-transform/pull/1","id":110787327,"number":1,"title":"Add Promise support","user":{"login":"HaNdTriX","id":1265681,"avatar_url":"https://avatars.githubusercontent.com/u/1265681?v=3","gravatar_id":"","url":"https://api.github.com/users/HaNdTriX","html_url":"https://github.com/HaNdTriX","followers_url":"https://api.github.com/users/HaNdTriX/followers","following_url":"https://api.github.com/users/HaNdTriX/following{/other_user}","gists_url":"https://api.github.com/users/HaNdTriX/gists{/gist_id}","starred_url":"https://api.github.com/users/HaNdTriX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HaNdTriX/subscriptions","organizations_url":"https://api.github.com/users/HaNdTriX/orgs","repos_url":"https://api.github.com/users/HaNdTriX/repos","events_url":"https://api.github.com/users/HaNdTriX/events{/privacy}","received_events_url":"https://api.github.com/users/HaNdTriX/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-10T10:52:50Z","updated_at":"2015-10-11T03:54:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/thaggie/gulp-json-transform/pulls/1","html_url":"https://github.com/thaggie/gulp-json-transform/pull/1","diff_url":"https://github.com/thaggie/gulp-json-transform/pull/1.diff","patch_url":"https://github.com/thaggie/gulp-json-transform/pull/1.patch"},"body":"Hey @thaggie \r\n\r\nThank you for your awesome plugin! \r\n\r\nI just ran into a use-case, where I had to do something async in my transform function.\r\nSo I added Promise support to the Plugin and improved Error logging slightly.\r\n\r\n**Example:**\r\n\r\n    ...\r\n    .pipe(jsonTransform(function(data) {\r\n      return new Promise(function(resolve, reject) {\r\n        setTimeout(function() {\r\n          resolve({\r\n            foobar: data.foo + data.bar\r\n          })\r\n        }, 1000);\r\n      })\r\n    }))\r\n    ...\r\n"},"comment":{"url":"https://api.github.com/repos/thaggie/gulp-json-transform/issues/comments/147152035","html_url":"https://github.com/thaggie/gulp-json-transform/pull/1#issuecomment-147152035","issue_url":"https://api.github.com/repos/thaggie/gulp-json-transform/issues/1","id":147152035,"user":{"login":"thaggie","id":327611,"avatar_url":"https://avatars.githubusercontent.com/u/327611?v=3","gravatar_id":"","url":"https://api.github.com/users/thaggie","html_url":"https://github.com/thaggie","followers_url":"https://api.github.com/users/thaggie/followers","following_url":"https://api.github.com/users/thaggie/following{/other_user}","gists_url":"https://api.github.com/users/thaggie/gists{/gist_id}","starred_url":"https://api.github.com/users/thaggie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thaggie/subscriptions","organizations_url":"https://api.github.com/users/thaggie/orgs","repos_url":"https://api.github.com/users/thaggie/repos","events_url":"https://api.github.com/users/thaggie/events{/privacy}","received_events_url":"https://api.github.com/users/thaggie/received_events","type":"User","site_admin":false},"created_at":"2015-10-11T03:54:42Z","updated_at":"2015-10-11T03:54:42Z","body":"Glad you find it useful.\r\n\r\nThanks for the PR, it's definitely a feature worth adding."}}