@visulima/error-handler
Version:
Error handlers for use in development and production environments.
151 lines • 4.2 kB
JSON
{
"name": "@visulima/error-handler",
"version": "1.0.13",
"description": "Error handlers for use in development and production environments.",
"keywords": [
"visulima",
"error",
"exception",
"error-handlers",
"diagnostics",
"debugging",
"stacktrace",
"code-frame",
"codeframe",
"source-code-preview",
"content-negotiation",
"problem-json",
"rfc7807",
"jsonapi",
"json-api",
"jsonp",
"xml",
"html-error",
"cli",
"node",
"express",
"connect",
"middleware",
"http-errors",
"devtools",
"error-reporting",
"whoops",
"youch",
"anolilab",
"error-handler"
],
"homepage": "https://visulima.com/packages/error-handler",
"bugs": {
"url": "https://github.com/visulima/visulima/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/visulima/visulima.git",
"directory": "packages/error-handler"
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/prisis"
},
{
"type": "consulting",
"url": "https://anolilab.com/support"
}
],
"license": "MIT",
"author": {
"name": "Daniel Bannert",
"email": "d.bannert@anolilab.de"
},
"sideEffects": false,
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./handler/cli": {
"types": "./dist/handler/cli-handler.d.ts",
"default": "./dist/handler/cli-handler.js"
},
"./handler/http/node": {
"types": "./dist/handler/http/node-handler.d.ts",
"default": "./dist/handler/http/node-handler.js"
},
"./handler/http/hono": {
"types": "./dist/handler/http/fetch-handler.d.ts",
"default": "./dist/handler/http/fetch-handler.js"
},
"./handler/http/bun": {
"types": "./dist/handler/http/fetch-handler.d.ts",
"default": "./dist/handler/http/fetch-handler.js"
},
"./handler/http/cloudflare": {
"types": "./dist/handler/http/fetch-handler.d.ts",
"default": "./dist/handler/http/fetch-handler.js"
},
"./handler/http/deno": {
"types": "./dist/handler/http/fetch-handler.d.ts",
"default": "./dist/handler/http/fetch-handler.js"
},
"./handler/http/edge": {
"types": "./dist/handler/http/fetch-handler.d.ts",
"default": "./dist/handler/http/fetch-handler.js"
},
"./handler/fetch": {
"types": "./dist/handler/http/fetch-handler.d.ts",
"default": "./dist/handler/http/fetch-handler.js"
},
"./error-handler/html": {
"types": "./dist/error-handler/html-error-handler.d.ts",
"default": "./dist/error-handler/html-error-handler.js"
},
"./error-handler/problem": {
"types": "./dist/error-handler/problem-error-handler.d.ts",
"default": "./dist/error-handler/problem-error-handler.js"
},
"./error-handler/jsonapi": {
"types": "./dist/error-handler/jsonapi-error-handler.d.ts",
"default": "./dist/error-handler/jsonapi-error-handler.js"
},
"./error-handler/text": {
"types": "./dist/error-handler/text-error-handler.d.ts",
"default": "./dist/error-handler/text-error-handler.js"
},
"./error-handler/json": {
"types": "./dist/error-handler/json-error-handler.d.ts",
"default": "./dist/error-handler/json-error-handler.js"
},
"./error-handler/jsonp": {
"types": "./dist/error-handler/jsonp-error-handler.d.ts",
"default": "./dist/error-handler/jsonp-error-handler.js"
},
"./error-handler/xml": {
"types": "./dist/error-handler/xml-error-handler.d.ts",
"default": "./dist/error-handler/xml-error-handler.js"
},
"./package.json": "./package.json"
},
"files": [
"dist",
"README.md",
"CHANGELOG.md"
],
"dependencies": {
"@tinyhttp/accepts": "^2.2.4",
"@visulima/boxen": "2.0.10",
"@visulima/error": "5.0.6",
"http-errors": "^2.0.0",
"http-status-codes": "^2.3.0",
"jstoxml": "^7.0.1",
"ts-japi": "^1.12.1"
},
"engines": {
"node": ">=20.19 <=25.x"
},
"publishConfig": {
"access": "public",
"provenance": true
}
}