UNPKG

catchbuddy

Version:

Simplify error handling in JavaScript with a lightweight utility that organizes results and errors for both synchronous and asynchronous operations.

69 lines 1.69 kB
{ "name": "catchbuddy", "version": "0.2.0", "description": "Simplify error handling in JavaScript with a lightweight utility that organizes results and errors for both synchronous and asynchronous operations.", "keywords": [ "resolve", "try-catch", "error-handling", "async-errors" ], "author": { "name": "Koen Brouwer", "url": "https://github.com/koenbrouwer" }, "license": "MIT", "homepage": "https://github.com/koenbrouwer/catchbuddy", "repository": { "type": "git", "url": "git+https://github.com/koenbrouwer/catchbuddy.git" }, "bugs": { "url": "https://github.com/koenbrouwer/catchbuddy/issues" }, "type": "module", "main": "dist/index.js", "exports": { "./package.json": "./package.json", ".": { "import": "./dist/index.js" } }, "files": [ "dist" ], "tsup": { "entry": [ "src/index.ts" ], "format": [ "esm" ], "dts": true, "clean": true, "minify": true, "target": "esnext", "outDir": "dist" }, "devDependencies": { "@arethetypeswrong/cli": "^0.18.1", "@changesets/cli": "^2.29.4", "prettier": "^3.5.3", "tsup": "^8.4.0", "typescript": "^5.8.3", "vitest": "^3.1.3" }, "scripts": { "dev": "pnpm test", "test": "vitest", "test:run": "vitest run", "lint": "tsc", "check-format": "prettier --check .", "format": "prettier --write .", "check-exports": "attw --pack . --profile esm-only", "build": "tsup", "change": "changeset", "ci": "pnpm lint && pnpm check-format && pnpm test:run && pnpm build && pnpm check-exports", "local-release": "changeset version" } }