{"action":"created","issue":{"url":"https://api.github.com/repos/node-xmpp/xmpp2/issues/1","repository_url":"https://api.github.com/repos/node-xmpp/xmpp2","labels_url":"https://api.github.com/repos/node-xmpp/xmpp2/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/node-xmpp/xmpp2/issues/1/comments","events_url":"https://api.github.com/repos/node-xmpp/xmpp2/issues/1/events","html_url":"https://github.com/node-xmpp/xmpp2/issues/1","id":151709103,"number":1,"title":"What, why and goals","user":{"login":"sonnyp","id":19673,"avatar_url":"https://avatars.githubusercontent.com/u/19673?v=3","gravatar_id":"","url":"https://api.github.com/users/sonnyp","html_url":"https://github.com/sonnyp","followers_url":"https://api.github.com/users/sonnyp/followers","following_url":"https://api.github.com/users/sonnyp/following{/other_user}","gists_url":"https://api.github.com/users/sonnyp/gists{/gist_id}","starred_url":"https://api.github.com/users/sonnyp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonnyp/subscriptions","organizations_url":"https://api.github.com/users/sonnyp/orgs","repos_url":"https://api.github.com/users/sonnyp/repos","events_url":"https://api.github.com/users/sonnyp/events{/privacy}","received_events_url":"https://api.github.com/users/sonnyp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-28T18:16:29Z","updated_at":"2016-04-28T18:22:15Z","closed_at":null,"body":"Why/goals\r\n\r\n* modernize\r\n  * rewrite in es2015 (babel)\r\n  * add Promise API (keep callback API, maybe use something like [polygoat](https://github.com/sonnyp/polygoat/))\r\n  * maybe use [observables](https://github.com/zenparsing/es-observable)\r\n* better browser support\r\n  * reduce bundle size (rollup?)\r\n  * rename, node-xmpp doesn't apply anymore\r\n* simplify\r\n  * use a [monorepo](https://github.com/babel/babel/blob/master/doc/design/monorepo.md)\r\n  * remove code smell (code duplication, hacks, ...)\r\n  * remove non core stuff (in-band registration for example)\r\n  * remove duplicate methods/events\r\n* modularize\r\n  * a module should be able to add a stream feature\r\n  * a transport should be simpler to implement\r\n  * for client/c2s BOSH, TCP and WebSocket should be separated modules\r\n* should be the core of stanza.io and similar libraries\r\n\r\nNon goals\r\n* try and keep git history \r\n* keep backward compatibility"},"comment":{"url":"https://api.github.com/repos/node-xmpp/xmpp2/issues/comments/215518036","html_url":"https://github.com/node-xmpp/xmpp2/issues/1#issuecomment-215518036","issue_url":"https://api.github.com/repos/node-xmpp/xmpp2/issues/1","id":215518036,"user":{"login":"sonnyp","id":19673,"avatar_url":"https://avatars.githubusercontent.com/u/19673?v=3","gravatar_id":"","url":"https://api.github.com/users/sonnyp","html_url":"https://github.com/sonnyp","followers_url":"https://api.github.com/users/sonnyp/followers","following_url":"https://api.github.com/users/sonnyp/following{/other_user}","gists_url":"https://api.github.com/users/sonnyp/gists{/gist_id}","starred_url":"https://api.github.com/users/sonnyp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonnyp/subscriptions","organizations_url":"https://api.github.com/users/sonnyp/orgs","repos_url":"https://api.github.com/users/sonnyp/repos","events_url":"https://api.github.com/users/sonnyp/events{/privacy}","received_events_url":"https://api.github.com/users/sonnyp/received_events","type":"User","site_admin":false},"created_at":"2016-04-28T18:22:15Z","updated_at":"2016-04-28T18:22:15Z","body":"@dodo @astro @chris-rock @lloydwatkin RFC"}}