parse-formdata
Parse formdata in Node.
Usage
var parseFormdata = var http = http
API
parseFormdata(req, cb(err, data))
Parse formdata from an HTTP request. data
has the following fields:
- fields: key-value data from fields
- parts: an array of streams for the multipart file uploads
- preamble: an array of data from the
preamble
event - epilogue: an array of data from the
epilogue
event