It's a simple parser for requests whose content type is 'form-data' know as file upload. The parser has ability to parse the normal params and create file
git clone git@github.com:jianzhou520/node-formdata-parser.git node serveropen the index.html file just in chrome or other morden browser, select a file(now only support png file, you can extend in server.js file) to upload. You will see the server get all the request fileds and write a copy file to the files directory
Buffer operation & split the request body
This is a very simple example to show my way in parsing formData in node