UNPKG

try-and-catch

Version:

Enterprise-grade TypeScript error handling with ALL limitations fixed in v5.0.0: memory management, performance optimization, enhanced cleanup, JSON serialization, concurrency protection, simplified APIs, and linter-friendly async functions. Zero dependen

83 lines (82 loc) 1.87 kB
{ "name": "try-and-catch", "version": "6.0.3", "description": "Enterprise-grade TypeScript error handling with ALL limitations fixed in v5.0.0: memory management, performance optimization, enhanced cleanup, JSON serialization, concurrency protection, simplified APIs, and linter-friendly async functions. Zero dependencies, full type safety.", "main": "dist/index.js", "types": "dist/index.d.ts", "exports": { ".": { "import": "./dist/index.js", "require": "./dist/index.js", "types": "./dist/index.d.ts" } }, "homepage": "https://github.com/SuarezLuis/try-and-catch", "repository": { "type": "git", "url": "git+https://github.com/SuarezLuis/try-and-catch.git" }, "bugs": { "url": "https://github.com/SuarezLuis/try-and-catch/issues" }, "engines": { "node": ">=14.0.0" }, "os": [ "darwin", "linux", "win32" ], "funding": { "type": "github", "url": "https://github.com/sponsors/SuarezLuis" }, "scripts": { "build": "tsc", "test": "jest", "test:watch": "jest --watch", "prepublishOnly": "npm run test && npm run build" }, "keywords": [ "try", "catch", "error", "handling", "utility", "typescript", "async", "sync", "safe", "result", "finally", "resource", "cleanup", "context", "preservation", "retry", "backoff", "resilience", "fault-tolerance", "enterprise", "production", "memory-safe", "performance", "concurrency", "mutex", "serialization", "json-safe" ], "author": "Luis Suarez <suarezluis@gmail.com>", "license": "MIT", "devDependencies": { "@types/jest": "^29.5.0", "@types/node": "^20.0.0", "jest": "^29.5.0", "ts-jest": "^29.1.0", "typescript": "^5.0.0" }, "files": [ "dist", "README.md" ] }