2.0.0 • Published 6 years ago

@reges-hq/express-error-handler v2.0.0

Weekly downloads
8
License
MIT
Repository
github
Last release
6 years ago

express-error-handler

A error handler middleware for express

Installation

npm install @reges-hq/express-error-handler

Or with yarn

yarn add @reges-hq/express-error-handler

Usage

In your applications main entry point add:

const expressErrorHandler = require('@reges-hq/express-error-handler');

const shouldPrintStack = true
app.use(expressErrorHandler(shouldPrintStack))
2.0.0

6 years ago

1.0.0

7 years ago

0.0.2

7 years ago

0.1.0

8 years ago

0.0.1

8 years ago