UNPKG

@itsezz/try-catch

Version:

A TypeScript utility for elegant error handling with Result types

64 lines (63 loc) 1.57 kB
{ "name": "@itsezz/try-catch", "version": "1.4.0", "description": "A TypeScript utility for elegant error handling with Result types", "type": "module", "main": "dist/index.cjs", "module": "dist/index.mjs", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.cjs" } }, "files": [ "dist" ], "sideEffects": false, "repository": { "type": "git", "url": "git+https://github.com/itsezz/try-catch.git" }, "homepage": "https://github.com/itsezz/try-catch#readme", "bugs": { "url": "https://github.com/itsezz/try-catch/issues" }, "engines": { "node": ">=14.0.0" }, "publishConfig": { "access": "public" }, "scripts": { "build": "tsdown", "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js", "test:watch": "node --experimental-vm-modules node_modules/jest/bin/jest.js --watch", "test:coverage": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage", "lint": "eslint src --ext .ts", "lint:fix": "eslint src --ext .ts --fix", "prepublishOnly": "pnpm run lint && pnpm run test && pnpm run build", "prepare": "pnpm run build" }, "keywords": [ "typescript", "error-handling", "try-catch", "result", "utility" ], "author": "@itsEzz", "license": "MIT", "devDependencies": { "@eslint/js": "^10.0.1", "@types/jest": "^30.0.0", "eslint": "^10.4.0", "jest": "^30.4.2", "ts-jest": "^29.4.9", "tsdown": "^0.22.0", "typescript": "^6.0.3", "typescript-eslint": "^8.59.3" } }