{"action":"created","issue":{"url":"https://api.github.com/repos/fent/node-ytdl-core/issues/35","labels_url":"https://api.github.com/repos/fent/node-ytdl-core/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/fent/node-ytdl-core/issues/35/comments","events_url":"https://api.github.com/repos/fent/node-ytdl-core/issues/35/events","html_url":"https://github.com/fent/node-ytdl-core/issues/35","id":104809975,"number":35,"title":"Compatibility with browserify","user":{"login":"mallendeo","id":1578018,"avatar_url":"https://avatars.githubusercontent.com/u/1578018?v=3","gravatar_id":"","url":"https://api.github.com/users/mallendeo","html_url":"https://github.com/mallendeo","followers_url":"https://api.github.com/users/mallendeo/followers","following_url":"https://api.github.com/users/mallendeo/following{/other_user}","gists_url":"https://api.github.com/users/mallendeo/gists{/gist_id}","starred_url":"https://api.github.com/users/mallendeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mallendeo/subscriptions","organizations_url":"https://api.github.com/users/mallendeo/orgs","repos_url":"https://api.github.com/users/mallendeo/repos","events_url":"https://api.github.com/users/mallendeo/events{/privacy}","received_events_url":"https://api.github.com/users/mallendeo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-04T01:03:59Z","updated_at":"2015-09-07T06:10:23Z","closed_at":null,"body":"Hi, I'm working in porting this to the browser so it can be used in PhoneGap.\r\n\r\nOut of the box, \"compiling\" this with browserify doesn't work, it seems that it's a problem with the request module (see issue [#1737](https://github.com/request/request/issues/1737)), also the bundle size is around 2.3M.\r\n\r\n[Here](https://github.com/mallendeo/node-ytdl-core) is my progress, the final bundle size is 422k uncompressed, 233k minified and ~65k gzipped.\r\n\r\nThe first test is failing (download)."},"comment":{"url":"https://api.github.com/repos/fent/node-ytdl-core/issues/comments/138198301","html_url":"https://github.com/fent/node-ytdl-core/issues/35#issuecomment-138198301","issue_url":"https://api.github.com/repos/fent/node-ytdl-core/issues/35","id":138198301,"user":{"login":"fent","id":933490,"avatar_url":"https://avatars.githubusercontent.com/u/933490?v=3","gravatar_id":"","url":"https://api.github.com/users/fent","html_url":"https://github.com/fent","followers_url":"https://api.github.com/users/fent/followers","following_url":"https://api.github.com/users/fent/following{/other_user}","gists_url":"https://api.github.com/users/fent/gists{/gist_id}","starred_url":"https://api.github.com/users/fent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fent/subscriptions","organizations_url":"https://api.github.com/users/fent/orgs","repos_url":"https://api.github.com/users/fent/repos","events_url":"https://api.github.com/users/fent/events{/privacy}","received_events_url":"https://api.github.com/users/fent/received_events","type":"User","site_admin":false},"created_at":"2015-09-07T06:10:23Z","updated_at":"2015-09-07T06:10:23Z","body":"I just pushed a change that gets rid of a bunch of the deps. Pretty much like your current fork, idk if it'll be any better if downloading still doesn't work for you with the native node http(s) libraries."}}