@duydang2311/attempt
Version:
Go-like error handling for JavaScript and TypeScript
51 lines (50 loc) • 1.21 kB
JSON
{
"name": "@duydang2311/attempt",
"version": "0.0.8",
"description": "Go-like error handling for JavaScript and TypeScript",
"author": "duydang2311",
"license": "MIT",
"type": "module",
"scripts": {
"build": "bun run build.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/duydang2311/attempt.git"
},
"keywords": [
"error-handling",
"go",
"try",
"try-catch",
"attempt"
],
"bugs": {
"url": "https://github.com/duydang2311/attempt/issues"
},
"homepage": "https://github.com/duydang2311/attempt#readme",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"/dist"
],
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs"
}
},
"devDependencies": {
"@types/bun": "latest",
"agadoo": "^3.0.0",
"bun-plugin-dts": "^0.3.0"
},
"peerDependencies": {
"typescript": "^5"
},
"dependencies": {
"@duydang2311/attempt": "."
}
}