Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including express-data-parser with all npm packages installed. Try it out:

var expressDataParser = require("express-data-parser")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

express-data-parser v1.2.0

Middleware data parser for images and files using formidable

express-data-parser

Installation

To install it with NPM:

npm install express-data-parser --save

Configuration

It uses formidable in the back-end, so the configuration options are the same:

Configuration options for Formidable

Just pass them as the parameter:

var dataParser = require('express-data-parser');

// ...

app.use(dataParser({
  encoding: 'utf-8',
  uploadDir = "/my/dir"
  // ...
}));

Author & License

Francisco Presencia Fandos under the MIT License.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free