@ticatec/express-exception
Version:
A comprehensive set of reusable error classes and middleware for Node.js Express applications with standardized error handling and consistent response formats.
77 lines (76 loc) • 1.74 kB
JSON
{
"name": "@ticatec/express-exception",
"version": "1.1.3",
"description": "A comprehensive set of reusable error classes and middleware for Node.js Express applications with standardized error handling and consistent response formats.",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"module": "lib/index.js",
"exports": {
".": {
"types": "./lib/index.d.ts",
"require": "./lib/index.js",
"import": "./lib/index.js"
}
},
"files": [
"lib/**/*",
"README.md",
"README_CN.md",
"LICENSE",
"package.json"
],
"scripts": {
"build": "rm -rf ./lib && tsc",
"prebuild": "npm run clean",
"clean": "rm -rf ./lib",
"dev": "tsc --watch",
"prepublishOnly": "npm run build",
"publish:public": "npm publish --access public",
"typecheck": "tsc --noEmit"
},
"keywords": [
"express",
"exception",
"error",
"handler",
"middleware",
"typescript",
"nodejs",
"http",
"status",
"standardized",
"rest",
"api"
],
"repository": {
"type": "https",
"url": "https://github.com/ticatec/express-exception.git"
},
"author": {
"name": "Henry Feng",
"email": "henry@ticatec.com"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/ticatec/express-exception/issues"
},
"homepage": "https://github.com/ticatec/express-exception/tree/main",
"engines": {
"node": ">=14.0.0",
"npm": ">=6.0.0"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@types/node": "^22.8.6",
"typescript": "^5.0.0"
},
"peerDependencies": {
"log4js": "^6.7.0"
},
"dependencies": {
"ip": "^1.1.8"
}
}