UNPKG

kopi-error-handler

Version:

This library is used to save time for reimplementing express not found and error handler, along with a nice and pretty method to return an error response with a proper error structure.

43 lines (42 loc) 842 B
{ "name": "kopi-error-handler", "version": "1.0.4", "description": "", "main": "index.js", "files": [ "/dist", "/README.md" ], "keywords": [ "kopitech", "kopi", "express", "error", "handling", "errorHandling", "error_handing", "error-handling", "handler", "errorHandler", "error_handler", "error-handler" ], "scripts": { "build": "rm -rf dist && mkdir dist && babel src -D -d dist", "test": "jest" }, "dependencies": { "http-status-codes": "^2.2.0", "kopitech-logger": "^1.0.1" }, "devDependencies": { "@babel/cli": "^7.5.5", "@babel/core": "^7.9.6", "@babel/preset-env": "^7.9.6", "babel-preset-minify": "^0.5.1", "jest": "^24.1.0", "regenerator-runtime": "^0.13.9" }, "author": "Yee Hui Poh", "license": "ISC" }