UNPKG

@dotenvc/async-await

Version:

A minimal utility for Go-style error handling in async/await TypeScript code. Includes retries, custom error handling, and optional logging.

50 lines (49 loc) 1.08 kB
{ "name": "@dotenvc/async-await", "version": "1.0.1", "description": "A minimal utility for Go-style error handling in async/await TypeScript code. Includes retries, custom error handling, and optional logging.", "main": "dist/index.js", "types": "dist/types/index.d.ts", "module": "dist/index.js", "type": "module", "exports": { ".": { "import": "./dist/index.js", "types": "./dist/types/index.d.ts" } }, "scripts": { "build": "tsc", "prepare": "bun run build" }, "files": [ "dist", "README.md" ], "author": "DotEnv Consulting <https://github.com/dot-env>", "license": "MIT", "devDependencies": { "@types/node": "^20.0.0", "typescript": "^5.3.0" }, "peerDependencies": { "typescript": "^5.0.0" }, "publishConfig": { "access": "public" }, "repository": { "type": "git", "url": "https://github.com/dot-env/js-packages.git" }, "keywords": [ "async", "await", "go-style", "error handling", "typescript", "utility", "promise", "tuple" ] }