Skip to content

Commit

Permalink
expose qs in bodyParser
Browse files Browse the repository at this point in the history
  • Loading branch information
hokaccha committed Aug 22, 2011
1 parent 6fd899b commit 1f7c870
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/middleware/bodyParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.