Skip to content
Browse files

tr.create{,Read,Write}Stream

  • Loading branch information...
1 parent ba8a334 commit 0f0d16d49c5a30f8a90b11c917b94b9121af2e0b @substack committed Jul 7, 2013
Showing with 12 additions and 0 deletions.
  1. +12 −0 index.js
View
12 index.js
@@ -44,6 +44,18 @@ module.exports = function (opts) {
});
};
+ tr.createReadStream = function (sel, opts) {
+ return tr.select(sel).createReadStream(opts);
+ };
+
+ tr.createWriteStream = function (sel, opts) {
+ return tr.select(sel).createWriteStream(opts);
+ };
+
+ tr.createStream = function (sel, opts) {
+ return tr.select(sel).createStream(opts);
+ };
+
return tr;
function createResult (sel, opts) {

0 comments on commit 0f0d16d

Please sign in to comment.
Something went wrong with that request. Please try again.