JSPM

express-data-parser

1.2.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 693
  • Score
    100M100P100Q98147F
  • License MIT

Middleware data parser for images and files using formidable

Package Exports

  • express-data-parser

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (express-data-parser) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.