UNPKG

http-error-middleware

Version:

A simple Express middleware to handle and format error messages, improving error management in your applications.

47 lines (46 loc) 1.2 kB
{ "name": "http-error-middleware", "version": "0.0.11", "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", "author": "Juanjo098", "description": "A simple Express middleware to handle and format error messages, improving error management in your applications.", "repository": { "url": "https://github.com/Juanjo098/http-error-middleware" }, "homepage": "https://github.com/Juanjo098/http-error-middleware", "keywords": [ "express", "middleware", "error-handling", "error-messages", "error", "express-middleware", "error-response", "api-error-handling", "express-error", "json-response" ], "scripts": { "build": "tsup", "eslint": "eslint", "test": "jest" }, "license": "MIT", "devDependencies": { "@stylistic/eslint-plugin-js": "^2.12.1", "@types/express": "^5.0.0", "@types/jest": "^29.5.14", "@types/supertest": "^6.0.2", "eslint": "^9.17.0", "express": "^4.21.2", "jest": "^29.7.0", "supertest": "^7.0.0", "ts-jest": "^29.2.5", "ts-node": "^10.9.2", "tsup": "^8.3.5", "typescript": "^5.7.2", "typescript-eslint": "^8.18.2" } }