UNPKG

go-style-error

Version:

A utility library for elegant async/await error handling inspired by Go's error handling pattern

47 lines (46 loc) 1.05 kB
{ "name": "go-style-error", "version": "1.0.0", "description": "A utility library for elegant async/await error handling inspired by Go's error handling pattern", "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.js" } }, "files": [ "dist" ], "scripts": { "test:watch": "vitest --watch", "lint": "biome check src/", "format": "biome format --write .", "knip": "knip", "build": "tsup", "prepublishOnly": "pnpm run lint && pnpm run knip && pnpm run build" }, "keywords": [ "async", "await", "error-handling", "promise", "go-style", "typescript", "javascript" ], "author": "", "license": "MIT", "devDependencies": { "@biomejs/biome": "2.1.2", "husky": "^9.1.7", "knip": "^5.61.3", "tsup": "^8.5.0", "typescript": "^5.8.3", "ultracite": "5.0.39", "vitest": "^3.2.4" } }