On Fri, Jul 6, 2012 at 2:28 PM, Julian Gruber <misterio...@googlemail.com> wrote: > Is it possible to create a readStream from readDir? I tried > createReadStream('.') but directories are not supported there. > > Generally, is it possible to build on streams completely for control flow, > having as few callbacks as possible?
Not really. Streams are byte or character oriented, a DirectoryReadStream would be record oriented. -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en