{"action":"created","issue":{"url":"https://api.github.com/repos/runtimejs/runtime/issues/93","repository_url":"https://api.github.com/repos/runtimejs/runtime","labels_url":"https://api.github.com/repos/runtimejs/runtime/issues/93/labels{/name}","comments_url":"https://api.github.com/repos/runtimejs/runtime/issues/93/comments","events_url":"https://api.github.com/repos/runtimejs/runtime/issues/93/events","html_url":"https://github.com/runtimejs/runtime/pull/93","id":128408771,"number":93,"title":"Node support  - Work In Progress","user":{"login":"facekapow","id":11756574,"avatar_url":"https://avatars.githubusercontent.com/u/11756574?v=3","gravatar_id":"","url":"https://api.github.com/users/facekapow","html_url":"https://github.com/facekapow","followers_url":"https://api.github.com/users/facekapow/followers","following_url":"https://api.github.com/users/facekapow/following{/other_user}","gists_url":"https://api.github.com/users/facekapow/gists{/gist_id}","starred_url":"https://api.github.com/users/facekapow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facekapow/subscriptions","organizations_url":"https://api.github.com/users/facekapow/orgs","repos_url":"https://api.github.com/users/facekapow/repos","events_url":"https://api.github.com/users/facekapow/events{/privacy}","received_events_url":"https://api.github.com/users/facekapow/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2016-01-24T16:45:36Z","updated_at":"2016-03-25T21:51:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/runtimejs/runtime/pulls/93","html_url":"https://github.com/runtimejs/runtime/pull/93","diff_url":"https://github.com/runtimejs/runtime/pull/93.diff","patch_url":"https://github.com/runtimejs/runtime/pull/93.patch"},"body":"Adds a lot more support for node. Specifically: `dns.js` (basic, only A records), `console.js`, `process.stdout`, `process.stderr`, `stream.js`. Couple of notes:\r\n1) I had to implement `stream.js` myself because `stream-browserify` kept crapping out and throwing `ReferenceError`s everywhere.\r\n2) Also about `stream.js`: I have to implement `stream.Transform`.\r\n3) Again, `stream.js`: I had to copy-paste for `stream.Duplex` since it inherits both `stream.Readable` and `stream.Writable` (if anyone knows how to do multiple inheritance in ES6, please let me know how).\r\n4) I threw in Promises for some of the functions that take callbacks (they still accept callbacks, though). I figure it's not gonna be long until Node uses them, however, should they just be left as plain old callbacks? If I leave them, should I put Promises on EventEmitter, too?"},"comment":{"url":"https://api.github.com/repos/runtimejs/runtime/issues/comments/201531689","html_url":"https://github.com/runtimejs/runtime/pull/93#issuecomment-201531689","issue_url":"https://api.github.com/repos/runtimejs/runtime/issues/93","id":201531689,"user":{"login":"iefserge","id":6034700,"avatar_url":"https://avatars.githubusercontent.com/u/6034700?v=3","gravatar_id":"","url":"https://api.github.com/users/iefserge","html_url":"https://github.com/iefserge","followers_url":"https://api.github.com/users/iefserge/followers","following_url":"https://api.github.com/users/iefserge/following{/other_user}","gists_url":"https://api.github.com/users/iefserge/gists{/gist_id}","starred_url":"https://api.github.com/users/iefserge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iefserge/subscriptions","organizations_url":"https://api.github.com/users/iefserge/orgs","repos_url":"https://api.github.com/users/iefserge/repos","events_url":"https://api.github.com/users/iefserge/events{/privacy}","received_events_url":"https://api.github.com/users/iefserge/received_events","type":"User","site_admin":false},"created_at":"2016-03-25T21:51:41Z","updated_at":"2016-03-25T21:51:41Z","body":"@facekapow looks like console.log outputs extra `\\n`"}}