-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
By including express in the list of dependencies in package.json, it makes express a required dependency of the package. That means that the checks in lib/errors.js will always load the errorHandler middleware despite the attempts to only provide the feature if the express module is available.
I really like the feature of express being conditionally loaded as then this library can be used outside of node.js too. Was it intended to make express a requirement of this package?
Metadata
Metadata
Assignees
Labels
No labels