How to use the formidable/lib/multipart_parser.MultipartParser function in formidable

To help you get started, we’ve selected a few formidable examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github felixge / node-multipart-parser / benchmark / parsers / formidable.js View on Github external
module.exports = function(boundary, next) {
  var parser = new MultipartParser();
  parser.onEnd = next;
  parser.initWithBoundary(boundary);

  return parser.write.bind(parser);
};

formidable

A node.js module for parsing form data, especially file uploads.

MIT
Latest version published 21 days ago

Package Health Score

94 / 100
Full package analysis