connect-pathname

Add's req.pathname to requests in connect

npm install connect-pathname
6 downloads in the last week
12 downloads in the last month

connect-pathname

Adds req.pathname and req.query

Usage

(function () {
  "use strict";

  var connect = require('connect')
    , pathname = require('connect-pathname')
    ;

  connect()
    .use(pathname())
    ,listen(3000)
    ;
}());
npm loves you