@brunocarvalho/error-handler

error handler for express APIs applications

Usage no npm install needed!

<script type="module">
  import brunocarvalhoErrorHandler from 'https://cdn.skypack.dev/@brunocarvalho/error-handler';
</script>

README

@brunocarvalho/error-handler

A error handler for express APIs applications.

Instalation

$ [sudo] npm install --save @brunocarvalho/error-handler

usage

import express from 'express'
import errorHandler from '@brunocarvalho/error-handler'

const app = express()

app.use(errorHandler())