Middleware for parsing data from a multipart/form-data request and putting data as streams onto a
Parses all parts in a multipart/form-data request and attaches them (much like
[body-parser](https://github.com/expressjs/body-parser)), except stores a specified part (with the
stream option) as a stream on the request object. To be used for large streaming file uploads, only one part can be used as a stream, and must be the last part in the request (otherwise the streamed part would have to be entirely consumed to advance to the next part, which defeats the purpose of this module).
npm install stream-request
streamRequest(options)Takes an options object
optionsand returns a function to be used as connect middleware.
var streamRequest = ;var express = ;var app = ;app;
stream- A string indicating which part name to use as a stream. Required.
propertyName- The name of the property of the
connectrequest object that the parsed data lives. Default:
npm install && npm test