UNPKG

rfc9457

Version:

RFC 9457 Problem Details for HTTP APIs - A standardized error handling package for Node.js

62 lines (61 loc) 1.4 kB
{ "name": "rfc9457", "version": "16.0.0", "description": "RFC 9457 Problem Details for HTTP APIs - A standardized error handling package for Node.js", "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js" } }, "scripts": { "clean": "rm -rf dist", "build": "npm run clean && tsc", "prepare": "npm run build", "prepublishOnly": "npm run lint:fix && npm run lint && npm run build", "lint": "biome check && biome format . && biome lint", "lint:fix": "biome check --write && biome format . --write && biome lint --fix", "test": "vitest run", "test:watch": "vitest", "test:coverage": "vitest run --coverage" }, "keywords": [ "rfc9457", "rfc7807", "error", "http", "problem-details", "error-handling", "nodejs", "typescript" ], "author": "", "license": "MIT", "homepage": "https://github.com/JohnAdib/rfc9457#readme", "repository": { "type": "git", "url": "https://github.com/JohnAdib/rfc9457.git" }, "bugs": { "url": "https://github.com/JohnAdib/rfc9457/issues" }, "files": [ "dist", "README.md", "LICENSE" ], "sideEffects": false, "engines": { "node": ">=22.0.0" }, "devDependencies": { "@biomejs/biome": "2.3.5", "@types/node": "24.10.1", "@vitest/coverage-v8": "^4.0.9", "typescript": "^5.9.3", "vitest": "^4.0.9" } }