title: how to stream read directory in node.js?
body: <p>Suppose I have a directory that contains 100K+ or even 500k+ files. I want to read the directory with <code>fs.readdir</code>, but it's async not stream. Someone tell me that async use memory before done read the entire file list.</p>
  
  <p>So what is the solution? I want to readdir with stream approach. Can I?</p>