express-formidable-typescript
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

express-formidable-typescript

Because express-formidable is no longer maintained, and the formidable version needs to be updated, so I a maintained typescript version here

Install

npm install express-formidable-typescript

How to use

import express from 'express';
import formidableMiddleware from 'express-formidable';

const app = express();

app.use(formidableMiddleware());

app.post('/upload', (req, res) => {
  req.fields; // contains non-file fields
  req.files; // contains files
});

Package Sidebar

Install

npm i express-formidable-typescript

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

5.59 kB

Total Files

6

Last publish

Collaborators

  • lianwenwu