express-error-builder
Version:
Minimal and no setup error builder and producer for express APIs
71 lines (70 loc) • 1.73 kB
JSON
{
"name": "express-error-builder",
"version": "1.0.0",
"description": "Minimal and no setup error builder and producer for express APIs",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs"
}
},
"scripts": {
"format": "npx prettier --write .",
"format:check": "npx prettier --check .",
"lint": "npx eslint \"src/**/*.{ts,js,json}\"",
"test": "npx vitest",
"build": "rimraf dist && npx tsup",
"prepublish": "npm run build",
"publish": "npm publish --access public",
"prepare": "husky"
},
"keywords": [
"api",
"error",
"error-handler",
"error-response",
"rest",
"express",
"http-errors",
"custom-errors",
"api-error",
"nodejs",
"typescript",
"structured-errors",
"problem-details",
"rfc7807",
"logging",
"api-logger",
"error-builder",
"middleware",
"backend",
"response-builder"
],
"author": "Sandeep Shome",
"repository": {
"type": "git",
"url": "https://github.com/sandeep-shome/express-error-response.git"
},
"homepage": "https://github.com/sandeep-shome/express-error-response#readme",
"license": "MIT",
"type": "commonjs",
"devDependencies": {
"@eslint/js": "^9.30.0",
"@types/express": "^5.0.3",
"@types/supertest": "^6.0.3",
"eslint": "^9.30.0",
"express": "^5.1.0",
"globals": "^16.2.0",
"husky": "^9.1.7",
"prettier": "^3.6.2",
"rimraf": "^6.0.1",
"supertest": "^7.1.1",
"tsup": "^8.5.0",
"typescript": "^5.8.3",
"typescript-eslint": "^8.35.0",
"vitest": "^3.2.4"
}
}