{"action":"created","issue":{"url":"https://api.github.com/repos/hapijs/hoek/issues/142","labels_url":"https://api.github.com/repos/hapijs/hoek/issues/142/labels{/name}","comments_url":"https://api.github.com/repos/hapijs/hoek/issues/142/comments","events_url":"https://api.github.com/repos/hapijs/hoek/issues/142/events","html_url":"https://github.com/hapijs/hoek/issues/142","id":76070591,"number":142,"title":"Thoughts on a Browser version?","user":{"login":"abritinthebay","id":492797,"avatar_url":"https://avatars.githubusercontent.com/u/492797?v=3","gravatar_id":"","url":"https://api.github.com/users/abritinthebay","html_url":"https://github.com/abritinthebay","followers_url":"https://api.github.com/users/abritinthebay/followers","following_url":"https://api.github.com/users/abritinthebay/following{/other_user}","gists_url":"https://api.github.com/users/abritinthebay/gists{/gist_id}","starred_url":"https://api.github.com/users/abritinthebay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abritinthebay/subscriptions","organizations_url":"https://api.github.com/users/abritinthebay/orgs","repos_url":"https://api.github.com/users/abritinthebay/repos","events_url":"https://api.github.com/users/abritinthebay/events{/privacy}","received_events_url":"https://api.github.com/users/abritinthebay/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hapijs/hoek/labels/help%20wanted","name":"help wanted","color":"d4c5f9"},{"url":"https://api.github.com/repos/hapijs/hoek/labels/request","name":"request","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-05-13T17:58:56Z","updated_at":"2015-08-06T22:53:12Z","closed_at":null,"body":"I'm using Call to create an isomorphic Router for code that will run on Hapi - Hoek pulls in several things (and has several features) that aren't really required for most Browser usage.\r\n\r\nAny objection to me submitting a PR for adding a browser build (including in the package.json) for things like Browserify that minimizes the code for a front-end build?"},"comment":{"url":"https://api.github.com/repos/hapijs/hoek/issues/comments/128533924","html_url":"https://github.com/hapijs/hoek/issues/142#issuecomment-128533924","issue_url":"https://api.github.com/repos/hapijs/hoek/issues/142","id":128533924,"user":{"login":"jeffbski","id":5689,"avatar_url":"https://avatars.githubusercontent.com/u/5689?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffbski","html_url":"https://github.com/jeffbski","followers_url":"https://api.github.com/users/jeffbski/followers","following_url":"https://api.github.com/users/jeffbski/following{/other_user}","gists_url":"https://api.github.com/users/jeffbski/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffbski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffbski/subscriptions","organizations_url":"https://api.github.com/users/jeffbski/orgs","repos_url":"https://api.github.com/users/jeffbski/repos","events_url":"https://api.github.com/users/jeffbski/events{/privacy}","received_events_url":"https://api.github.com/users/jeffbski/received_events","type":"User","site_admin":false},"created_at":"2015-08-06T22:53:12Z","updated_at":"2015-08-06T22:53:12Z","body":"In my experiment, simply stubbing out crypto in package.json shaved off 82KB gzipped from original size.  \r\n\r\n```json\r\n\"browser\": {\r\n    \"crypto\": false\r\n  }\r\n```\r\n\r\nI was building Joi which included Hoek. I documented in this comment https://github.com/hapijs/joi/issues/528#issuecomment-128532221"}}