UNPKG

592 BMarkdownView Raw
1# connect-multiparty
2
3This is a drop-in replacement for the
4[multipart connect middleware](https://github.com/senchalabs/connect/blob/master/lib/middleware/multipart.js).
5
6If
7[the pull request to merge into connect](https://github.com/senchalabs/connect/pull/786)
8is accepted, this project can go away.
9
10The connect test suite for multipart and bodyParser has been imported, and all
11tests pass.
12
13## Usage
14
15```js
16var bodyParser = require('connect-multiparty').bodyParser;
17app.use(bodyParser());
18```
19or
20
21```js
22var multipart = require('connect-multiparty').multipart;
23app.use(multipart());
24```
25