error-http-response
Version:
Create HTTP error responses
71 lines (70 loc) • 1.57 kB
JSON
{
"name": "error-http-response",
"version": "3.0.1",
"type": "module",
"exports": {
"types": "./build/src/main.d.ts",
"default": "./build/src/main.js"
},
"main": "./build/src/main.js",
"types": "./build/src/main.d.ts",
"files": [
"build/src/**/*.{js,json,d.ts}",
"!build/src/**/*.test.js",
"!build/src/{helpers,fixtures}"
],
"sideEffects": false,
"scripts": {
"test": "gulp test"
},
"description": "Create HTTP error responses",
"keywords": [
"api",
"browser",
"error",
"error-handler",
"error-handling",
"error-monitoring",
"http",
"http-response",
"http-rest",
"javascript",
"library",
"nodejs",
"problem-details",
"rest",
"rest-api",
"rfc",
"rfc-7807",
"stack",
"stacktrace",
"typescript"
],
"license": "MIT",
"homepage": "https://www.github.com/ehmicky/error-http-response",
"repository": {
"type": "git",
"url": "git+https://github.com/ehmicky/error-http-response.git"
},
"bugs": {
"url": "https://github.com/ehmicky/error-http-response/issues"
},
"author": "ehmicky <ehmicky@gmail.com> (https://github.com/ehmicky)",
"directories": {
"lib": "src"
},
"dependencies": {
"is-plain-obj": "^4.1.0",
"normalize-exception": "^4.0.1",
"safe-json-value": "^3.0.1"
},
"devDependencies": {
"@ehmicky/dev-tasks": "^3.0.33",
"@ehmicky/eslint-config": "^20.0.31",
"@ehmicky/prettier-config": "^1.0.6",
"test-each": "^7.0.1"
},
"engines": {
"node": ">=18.18.0"
}
}