{"action":"created","issue":{"url":"https://api.github.com/repos/nteract/transformime/issues/45","repository_url":"https://api.github.com/repos/nteract/transformime","labels_url":"https://api.github.com/repos/nteract/transformime/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/nteract/transformime/issues/45/comments","events_url":"https://api.github.com/repos/nteract/transformime/issues/45/events","html_url":"https://github.com/nteract/transformime/pull/45","id":141442799,"number":45,"title":"Add helper function createTransform","user":{"login":"n-riesco","id":6199391,"avatar_url":"https://avatars.githubusercontent.com/u/6199391?v=3","gravatar_id":"","url":"https://api.github.com/users/n-riesco","html_url":"https://github.com/n-riesco","followers_url":"https://api.github.com/users/n-riesco/followers","following_url":"https://api.github.com/users/n-riesco/following{/other_user}","gists_url":"https://api.github.com/users/n-riesco/gists{/gist_id}","starred_url":"https://api.github.com/users/n-riesco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n-riesco/subscriptions","organizations_url":"https://api.github.com/users/n-riesco/orgs","repos_url":"https://api.github.com/users/n-riesco/repos","events_url":"https://api.github.com/users/n-riesco/events{/privacy}","received_events_url":"https://api.github.com/users/n-riesco/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-03-17T00:47:14Z","updated_at":"2016-03-19T22:24:17Z","closed_at":"2016-03-17T01:42:38Z","pull_request":{"url":"https://api.github.com/repos/nteract/transformime/pulls/45","html_url":"https://github.com/nteract/transformime/pull/45","diff_url":"https://github.com/nteract/transformime/pull/45.diff","patch_url":"https://github.com/nteract/transformime/pull/45.patch"},"body":"Added a helper function for the most common use cases; e.g.\r\n\r\n```js\r\nvar transformime = require(\"transformime\");\r\nvar transformimeJupyter = require(\"transformime-jupyter-transformers\")\r\n\r\nvar transform = transformime.createTransform([\r\n    transformime.TextTransformer,\r\n    transformimeJupyter.PDFTransform,\r\n    transformime.ImageTransformer,\r\n    transformimeJupyter.SVGTransform,\r\n    transformimeJupyter.consoleTextTransform,\r\n    transformimeJupyter.LaTeXTransform,\r\n    transformimeJupyter.markdownTransform,\r\n    transformime.HTMLTransformer,\r\n    transformimeJupyter.ScriptTransform\r\n]);\r\n\r\ntransform({\r\n    \"text/plain\": \"Hello, World!\",\r\n}).then(function(result) {\r\n    mimetype = result.mimetype;\r\n    htmlElement = result.el;\r\n   // ...\r\n});\r\n```"},"comment":{"url":"https://api.github.com/repos/nteract/transformime/issues/comments/198799385","html_url":"https://github.com/nteract/transformime/pull/45#issuecomment-198799385","issue_url":"https://api.github.com/repos/nteract/transformime/issues/45","id":198799385,"user":{"login":"rgbkrk","id":836375,"avatar_url":"https://avatars.githubusercontent.com/u/836375?v=3","gravatar_id":"","url":"https://api.github.com/users/rgbkrk","html_url":"https://github.com/rgbkrk","followers_url":"https://api.github.com/users/rgbkrk/followers","following_url":"https://api.github.com/users/rgbkrk/following{/other_user}","gists_url":"https://api.github.com/users/rgbkrk/gists{/gist_id}","starred_url":"https://api.github.com/users/rgbkrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgbkrk/subscriptions","organizations_url":"https://api.github.com/users/rgbkrk/orgs","repos_url":"https://api.github.com/users/rgbkrk/repos","events_url":"https://api.github.com/users/rgbkrk/events{/privacy}","received_events_url":"https://api.github.com/users/rgbkrk/received_events","type":"User","site_admin":false},"created_at":"2016-03-19T22:24:17Z","updated_at":"2016-03-19T22:24:17Z","body":"Your solution that you put in Hydrogen would be great over here."}}