mirror of
https://github.com/abrendan/MicDropMessages.git
synced 2025-08-25 22:12:02 +02:00
Initial commit
This commit is contained in:
33
node_modules/express-data-parser/README.md
generated
vendored
Normal file
33
node_modules/express-data-parser/README.md
generated
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
# express-data-parser
|
||||
|
||||
## Installation
|
||||
|
||||
To install it with NPM:
|
||||
|
||||
```bash
|
||||
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](https://github.com/felixge/node-formidable#api)
|
||||
|
||||
Just pass them as the parameter:
|
||||
|
||||
```js
|
||||
var dataParser = require('express-data-parser');
|
||||
|
||||
// ...
|
||||
|
||||
app.use(dataParser({
|
||||
encoding: 'utf-8',
|
||||
uploadDir = "/my/dir"
|
||||
// ...
|
||||
}));
|
||||
```
|
||||
|
||||
## Author & License
|
||||
|
||||
[Francisco Presencia Fandos](http://francisco.io/) under the MIT License.
|
Reference in New Issue
Block a user