UNPKG

error-response-handler

Version:

Comprehensive error handling and response formatting for Node.js applications

46 lines (45 loc) 1.14 kB
{ "name": "error-response-handler", "version": "1.0.5", "description": "Comprehensive error handling and response formatting for Node.js applications", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "build": "tsc", "prepublish": "npm run build", "test": "jest --coverage", "lint": "eslint src/**/*.ts", "lint:fix": "eslint src/**/*.ts --fix", "precommit": "npm run lint && npm run test" }, "keywords": [ "error-handling", "response-handler", "async-middleware", "express", "typescript", "http-status-codes" ], "author": "Bapi Majumder", "license": "MIT", "devDependencies": { "@types/express": "^5.0.2", "@types/jest": "^29.5.14", "@types/node": "^22.15.29", "@typescript-eslint/eslint-plugin": "^8.33.0", "@typescript-eslint/parser": "^8.33.0", "eslint": "^9.28.0", "jest": "^29.7.0", "ts-jest": "^29.3.4", "typescript": "^5.8.3" }, "files": [ "dist/**/*" ], "engines": { "node": ">=14.0.0" }, "dependencies": { "express": "^5.1.0" } }