title: connect.bodyParser is not a function
body: <p>I am completely new to node.js. I am trying to use bodyParser in connect module, but the error message says <code>TypeError: connect.bodyParser is not a function</code>. My code (simplified version) is below; What can I use instead of <code>connect.bodyParser</code>?</p>
  
  <pre><code>  var connect = require('connect');
    var util = require('util');
    var form = require('fs').readFileSync('form.html');
  
    var app = connect()
      .use(connect.bodyParser())
      .use(connect.limit('64kb'))
      .use(function(req, res){
        if(req.method === 'POST'){
          res.end(util.inspect(req.body));
        }
        if(req === 'GET'){
          res.writeHead(200, {'Content-Type' : 'text/html'});
          res.end(form);
        }
      }).listen(3000);
  </code></pre>