pouchdb/express-pouchdb — pull request #155 by marten-de-vries (2014-12-19 21:49:42+00:00)
Title: (#122) - Profile support (custom, core & complete)

Adds the following options:
- profile
- profileDiff
- include
- exclude

This allows users to specify exactly which parts of express-pouchdb need to be loaded. Dependencies are handled by a check to ``app.includes[partThatsNeeded]``, often abstracted away via ``utils.requires``.

The order in which the routes are loaded is specified by index.js.

See for examples on how to use the included tests. The second argument ('opts') needs to be documented in README.md though.