```js
var bodyParser = require('body-parser');
bodyParser();
bodyParser.json();
```
`bodyParser` only displays members that are universal to all objects - no info when calling it or on `json`.
It seems that we don't correctly understand the following code in body-parser/index.js:
```
var deprecate = require('depd')('body-parser')
exports = module.exports = deprecate.function(bodyParser,
'bodyParser: use individual json/urlencoded middlewares')
```
This is meant to show a deprecation message when people call `bodyParser` as a function (you're supposed to use `json` and other members now). But it looks like it screws our ability to parse exports entirely for this module.
var bodyParser = require('body-parser');
bodyParser();
bodyParser.json();
```
`bodyParser` only displays members that are universal to all objects - no info when calling it or on `json`.
It seems that we don't correctly understand the following code in body-parser/index.js:
```
var deprecate = require('depd')('body-parser')
exports = module.exports = deprecate.function(bodyParser,
'bodyParser: use individual json/urlencoded middlewares')
```
This is meant to show a deprecation message when people call `bodyParser` as a function (you're supposed to use `json` and other members now). But it looks like it screws our ability to parse exports entirely for this module.