{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/pdf.js/issues/5822","labels_url":"https://api.github.com/repos/mozilla/pdf.js/issues/5822/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/pdf.js/issues/5822/comments","events_url":"https://api.github.com/repos/mozilla/pdf.js/issues/5822/events","html_url":"https://github.com/mozilla/pdf.js/issues/5822","id":60493404,"number":5822,"title":"Usage from node","user":{"login":"blacksonic","id":602571,"avatar_url":"https://avatars.githubusercontent.com/u/602571?v=3","gravatar_id":"","url":"https://api.github.com/users/blacksonic","html_url":"https://github.com/blacksonic","followers_url":"https://api.github.com/users/blacksonic/followers","following_url":"https://api.github.com/users/blacksonic/following{/other_user}","gists_url":"https://api.github.com/users/blacksonic/gists{/gist_id}","starred_url":"https://api.github.com/users/blacksonic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blacksonic/subscriptions","organizations_url":"https://api.github.com/users/blacksonic/orgs","repos_url":"https://api.github.com/users/blacksonic/repos","events_url":"https://api.github.com/users/blacksonic/events{/privacy}","received_events_url":"https://api.github.com/users/blacksonic/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-10T12:42:06Z","updated_at":"2015-03-10T14:38:10Z","closed_at":"2015-03-10T14:32:40Z","body":"I installed pdf.js to my node application, but it's version was only 0.1 but the current is 0.8 in the repository. Maybe it only needs an npm publish?\r\nThe problem that with version 0.1 the package.json requires cofeescript with the latest version, but the latest version doesnt auto register.\r\n```\r\nrequire('coffee-script');\r\nmodule.exports = require('./lib/document');\r\n```\r\nEven after calling ```register``` here the code dies and complains for ```has no method 'getDocument'```"},"comment":{"url":"https://api.github.com/repos/mozilla/pdf.js/issues/comments/78066414","html_url":"https://github.com/mozilla/pdf.js/issues/5822#issuecomment-78066414","issue_url":"https://api.github.com/repos/mozilla/pdf.js/issues/5822","id":78066414,"user":{"login":"yurydelendik","id":1523410,"avatar_url":"https://avatars.githubusercontent.com/u/1523410?v=3","gravatar_id":"","url":"https://api.github.com/users/yurydelendik","html_url":"https://github.com/yurydelendik","followers_url":"https://api.github.com/users/yurydelendik/followers","following_url":"https://api.github.com/users/yurydelendik/following{/other_user}","gists_url":"https://api.github.com/users/yurydelendik/gists{/gist_id}","starred_url":"https://api.github.com/users/yurydelendik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yurydelendik/subscriptions","organizations_url":"https://api.github.com/users/yurydelendik/orgs","repos_url":"https://api.github.com/users/yurydelendik/repos","events_url":"https://api.github.com/users/yurydelendik/events{/privacy}","received_events_url":"https://api.github.com/users/yurydelendik/received_events","type":"User","site_admin":false},"created_at":"2015-03-10T14:38:10Z","updated_at":"2015-03-10T14:38:10Z","body":"It's not trivial to setup, but it's possible to use it from the node.js. See https://github.com/mozilla/pdf.js/tree/master/examples/node\r\n\r\nWe asked node.js community about API they want to see and what use cases they have in mind. No feedback was provided yet."}}