{"action":"created","issue":{"url":"https://api.github.com/repos/Level/codec/issues/5","labels_url":"https://api.github.com/repos/Level/codec/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/Level/codec/issues/5/comments","events_url":"https://api.github.com/repos/Level/codec/issues/5/events","html_url":"https://github.com/Level/codec/pull/5","id":69085755,"number":5,"title":"add decode stream","user":{"login":"juliangruber","id":10247,"avatar_url":"https://avatars.githubusercontent.com/u/10247?v=3","gravatar_id":"","url":"https://api.github.com/users/juliangruber","html_url":"https://github.com/juliangruber","followers_url":"https://api.github.com/users/juliangruber/followers","following_url":"https://api.github.com/users/juliangruber/following{/other_user}","gists_url":"https://api.github.com/users/juliangruber/gists{/gist_id}","starred_url":"https://api.github.com/users/juliangruber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliangruber/subscriptions","organizations_url":"https://api.github.com/users/juliangruber/orgs","repos_url":"https://api.github.com/users/juliangruber/repos","events_url":"https://api.github.com/users/juliangruber/events{/privacy}","received_events_url":"https://api.github.com/users/juliangruber/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-04-17T07:24:17Z","updated_at":"2015-04-20T10:14:05Z","closed_at":"2015-04-17T11:37:49Z","pull_request":{"url":"https://api.github.com/repos/Level/codec/pulls/5","html_url":"https://github.com/Level/codec/pull/5","diff_url":"https://github.com/Level/codec/pull/5.diff","patch_url":"https://github.com/Level/codec/pull/5.patch"},"body":"to replace\r\n\r\n- https://github.com/rvagg/node-levelup/blob/master/lib/levelup.js#L372-L387\r\n- https://github.com/rvagg/node-levelup/blob/use/level-iterator-stream/lib/read-stream.js#L23-L37\r\n\r\nwill be used in levelup like:\r\n\r\n```js\r\nfunction createReadStream(){\r\n  return iteratorStream(db)\r\n    .pipe(codec.createDecodeStream())\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/Level/codec/issues/comments/94414651","html_url":"https://github.com/Level/codec/pull/5#issuecomment-94414651","issue_url":"https://api.github.com/repos/Level/codec/issues/5","id":94414651,"user":{"login":"juliangruber","id":10247,"avatar_url":"https://avatars.githubusercontent.com/u/10247?v=3","gravatar_id":"","url":"https://api.github.com/users/juliangruber","html_url":"https://github.com/juliangruber","followers_url":"https://api.github.com/users/juliangruber/followers","following_url":"https://api.github.com/users/juliangruber/following{/other_user}","gists_url":"https://api.github.com/users/juliangruber/gists{/gist_id}","starred_url":"https://api.github.com/users/juliangruber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliangruber/subscriptions","organizations_url":"https://api.github.com/users/juliangruber/orgs","repos_url":"https://api.github.com/users/juliangruber/repos","events_url":"https://api.github.com/users/juliangruber/events{/privacy}","received_events_url":"https://api.github.com/users/juliangruber/received_events","type":"User","site_admin":false},"created_at":"2015-04-20T10:14:05Z","updated_at":"2015-04-20T10:14:05Z","body":"Ok yeah this is currently ~50% as fast as the old implementation. I'll try this api next:\r\n\r\n```js\r\nfunction createReadStream(){\r\n  return iteratorStream(db, codec.createStreamDecoder(opts))\r\n}\r\n```"}}