{"action":"opened","issue":{"url":"https://api.github.com/repos/TryxAPI/xapi-client/issues/4","labels_url":"https://api.github.com/repos/TryxAPI/xapi-client/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/TryxAPI/xapi-client/issues/4/comments","events_url":"https://api.github.com/repos/TryxAPI/xapi-client/issues/4/events","html_url":"https://github.com/TryxAPI/xapi-client/issues/4","id":103577871,"number":4,"title":"Building using a package manager","user":{"login":"HPate-Riptide","id":7937026,"avatar_url":"https://avatars.githubusercontent.com/u/7937026?v=3","gravatar_id":"","url":"https://api.github.com/users/HPate-Riptide","html_url":"https://github.com/HPate-Riptide","followers_url":"https://api.github.com/users/HPate-Riptide/followers","following_url":"https://api.github.com/users/HPate-Riptide/following{/other_user}","gists_url":"https://api.github.com/users/HPate-Riptide/gists{/gist_id}","starred_url":"https://api.github.com/users/HPate-Riptide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HPate-Riptide/subscriptions","organizations_url":"https://api.github.com/users/HPate-Riptide/orgs","repos_url":"https://api.github.com/users/HPate-Riptide/repos","events_url":"https://api.github.com/users/HPate-Riptide/events{/privacy}","received_events_url":"https://api.github.com/users/HPate-Riptide/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-27T19:28:35Z","updated_at":"2015-08-27T19:28:35Z","closed_at":null,"body":"There are a couple of libraries included in the main JS file that we could require separately so that they are easier to update.  It would be nice if we could package stuff up with Webpack so that we could create the modular builds, minify everything, etc.  Right now the library is 409KB uncompressed and 73K gzipped.\r\n\r\nCurrent libraries:\r\n - sha256 https://github.com/TryxAPI/xapi-client/blob/master/lib%2Fxapi.js#L11557\r\n - uuid https://github.com/TryxAPI/xapi-client/blob/master/lib%2Fxapi.js#L741\r\n - socket.io https://github.com/TryxAPI/xapi-client/blob/master/lib%2Fxapi.js#L996"}}