{"action":"created","issue":{"url":"https://api.github.com/repos/tsayen/dom-to-image/issues/34","repository_url":"https://api.github.com/repos/tsayen/dom-to-image","labels_url":"https://api.github.com/repos/tsayen/dom-to-image/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/tsayen/dom-to-image/issues/34/comments","events_url":"https://api.github.com/repos/tsayen/dom-to-image/issues/34/events","html_url":"https://github.com/tsayen/dom-to-image/issues/34","id":152672751,"number":34,"title":"How to use on server? Node.js","user":{"login":"kevzettler","id":126209,"avatar_url":"https://avatars.githubusercontent.com/u/126209?v=3","gravatar_id":"","url":"https://api.github.com/users/kevzettler","html_url":"https://github.com/kevzettler","followers_url":"https://api.github.com/users/kevzettler/followers","following_url":"https://api.github.com/users/kevzettler/following{/other_user}","gists_url":"https://api.github.com/users/kevzettler/gists{/gist_id}","starred_url":"https://api.github.com/users/kevzettler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevzettler/subscriptions","organizations_url":"https://api.github.com/users/kevzettler/orgs","repos_url":"https://api.github.com/users/kevzettler/repos","events_url":"https://api.github.com/users/kevzettler/events{/privacy}","received_events_url":"https://api.github.com/users/kevzettler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-03T00:02:41Z","updated_at":"2016-05-03T07:14:57Z","closed_at":null,"body":"This is dependent on `document` how can this be updated to work in a server environment? Would it beable to handle a HTML String?"},"comment":{"url":"https://api.github.com/repos/tsayen/dom-to-image/issues/comments/216456047","html_url":"https://github.com/tsayen/dom-to-image/issues/34#issuecomment-216456047","issue_url":"https://api.github.com/repos/tsayen/dom-to-image/issues/34","id":216456047,"user":{"login":"tsayen","id":1733236,"avatar_url":"https://avatars.githubusercontent.com/u/1733236?v=3","gravatar_id":"","url":"https://api.github.com/users/tsayen","html_url":"https://github.com/tsayen","followers_url":"https://api.github.com/users/tsayen/followers","following_url":"https://api.github.com/users/tsayen/following{/other_user}","gists_url":"https://api.github.com/users/tsayen/gists{/gist_id}","starred_url":"https://api.github.com/users/tsayen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsayen/subscriptions","organizations_url":"https://api.github.com/users/tsayen/orgs","repos_url":"https://api.github.com/users/tsayen/repos","events_url":"https://api.github.com/users/tsayen/events{/privacy}","received_events_url":"https://api.github.com/users/tsayen/received_events","type":"User","site_admin":false},"created_at":"2016-05-03T07:14:57Z","updated_at":"2016-05-03T07:14:57Z","body":"In order to render html, you need a browser anyway. You might consider\nrunning sth like SlimerJs or headless Chrome on the server.\nOn May 3, 2016 2:02 AM, \"Kev Zettler\" <notifications@github.com> wrote:\n\n> This is dependent on document how can this be updated to work in a server\n> environment? Would it beable to handle a HTML String?\n>\n> —\n> You are receiving this because you are subscribed to this thread.\n> Reply to this email directly or view it on GitHub\n> <https://github.com/tsayen/dom-to-image/issues/34>\n>\n"}}