title: NodeJS - ExpressJS: How to stream request body without buffering
body: <p>I need to handle some request without <code>content-type</code> as binary file</p>
  
  <pre><code>const app = express();
  app.use(bodyParser.raw({type: (req) =&gt;  !req.headers['content-type'], limit: '500mb' }));
  </code></pre>
  
  <p>those file can be huge (eg. 500 MB).</p>
  
  <p>I want to read <code>req.body</code> as stream for don't wast memory, but <code>bodyParser.raw()</code> make <code>req.body</code> as <code>Buffer</code>.</p>
  
  <p>How handle <code>req.body</code> as <code>Stream</code>?</p>