0.0.11 • Published 5 years ago

anytv-node-error-handler v0.0.11

Weekly downloads
4
License
ISC
Repository
github
Last release
5 years ago

anytv-node-error-handler

Build Status Coverage Status Dependencies npm version

Our error handler middleware for expressjs. Especially made for our awesome expressjs boilerplate.

Install

npm install anytv-node-error-handler --save

Usage

Setting the middlware

On your index.js / server.js / app.js, register the middleware.

import error_handler from 'anytv-node-error-handler';
import express from 'express';

app = express();

app.use(error_handler(logger));

Contributing

Install the tools needed:

npm install mocha -g
npm install --dev

Running test

npm test
npm test-dev #to --watch

Code coverage

npm run coverage

Then open coverage/lcov-report/index.html.

License

MIT

Author

Freedom! Labs, any.TV Limited DBA Freedom!

0.0.11

5 years ago

0.0.10

9 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago