twee-http-parser-extension
Advanced tools
Comparing version 0.0.1 to 0.0.2
10
index.js
@@ -11,4 +11,12 @@ /** | ||
twee.getApplication().use(bodyParser.json()); | ||
twee.getApplication().use(bodyParser.urlencoded(twee.getConfig('twee:options:bodyParser:urlencoded'))); | ||
twee.getApplication().use(bodyParser.urlencoded(twee.getConfig('extension:twee-http-parser:urlencoded'))); | ||
twee.emit('twee.setupHttpParsers.End'); | ||
}; | ||
module.exports.configNamespace = 'twee-http-parser'; | ||
module.exports.config = { | ||
"urlencoded": { | ||
"extended": true | ||
} | ||
}; |
{ | ||
"name": "twee-http-parser-extension", | ||
"preferGlobal": false, | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"author": "Dmitri Mesin <dmitri.mesin@gmail.com>", | ||
@@ -6,0 +6,0 @@ "homepage": "https://github.com/mesin/twee-http-parser-extension", |
# twee-http-parser-extension | ||
![Twee.io Logo](https://s3.eu-central-1.amazonaws.com/meshin/public/twee.io.png) | ||
![Twee.io Logo](https://raw.githubusercontent.com/tweeio/twee-framework/master/assets/68747470733a2f2f73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f6d657368696e2f7075626c69632f747765652e696f2e706e67.png) | ||
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/tweeio/twee-framework?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) | ||
[![npm](https://img.shields.io/npm/dm/localeval.svg)](https://github.com/tweeio/twee-framework) | ||
[![npm](https://img.shields.io/npm/l/express.svg)](https://github.com/tweeio/twee-framework) | ||
HTTP parser extension for Twee.io Framework - MVC Framework for Node.js and io.js based on Express.js | ||
@@ -6,0 +10,0 @@ |
2382
4
17
16