Permalink
Browse files

expose qs in bodyParser

  • Loading branch information...
1 parent 6fd899b commit 1f7c870ddbdf40978426d60754b31ca1f27e1df2 @hokaccha committed Aug 22, 2011
Showing with 4 additions and 1 deletion.
  1. +4 −1 lib/middleware/bodyParser.js
View
5 lib/middleware/bodyParser.js
@@ -88,4 +88,7 @@ exports = module.exports = function bodyParser(){
exports.parse = {
'application/x-www-form-urlencoded': qs.parse
, 'application/json': JSON.parse
-};
+};
+
+// expose qs.
+exports.qs = qs;

0 comments on commit 1f7c870

Please sign in to comment.