node-js-api-response
Version:
Unified API response and error handling for Express.js in TypeScript. This package provides a middleware for consistent API responses and error handling in Express applications, making it easier to manage API responses and errors in a standardized way.
53 lines (52 loc) • 1.28 kB
JSON
{
"name": "node-js-api-response",
"version": "2.0.8",
"description": "Unified API response and error handling for Express.js in TypeScript. This package provides a middleware for consistent API responses and error handling in Express applications, making it easier to manage API responses and errors in a standardized way.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"publishConfig": {
"access": "public"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsc",
"generate:errors": "ts-node src/scripts/generate-errors.ts"
},
"keywords": [
"express",
"typescript",
"api",
"error",
"response",
"middleware",
"error-handling",
"api-response"
],
"author": "Maheswar Behera",
"license": "MIT",
"dependencies": {
"express": "^4.18.2",
"winston": "^3.17.0",
"chalk": "^5.6.0"
},
"devDependencies": {
"@types/express": "^5.0.3",
"@types/node": "^24.3.0",
"typescript": "^5.3.0"
},
"repository": {
"type": "github",
"url": "https://github.com/maheswarbehera/node-js-api-response"
}
}