@guialves/tuple
Version:
A TypeScript utility function that converts Promises into Go-style [data, error] tuples for better error handling
42 lines • 956 B
JSON
{
"name": "@guialves/tuple",
"version": "1.0.1",
"description": "A TypeScript utility function that converts Promises into Go-style [data, error] tuples for better error handling",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist/**/*",
"README.md"
],
"scripts": {
"build": "tsc",
"prepublishOnly": "npm run build",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"promise",
"error-handling",
"tuple",
"async",
"typescript",
"go-style",
"utility",
"functional"
],
"author": "Guilherme Alves",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/justAlves/tuple.git"
},
"homepage": "https://github.com/justAlves/tuple#readme",
"bugs": {
"url": "https://github.com/justAlves/tuple/issues"
},
"engines": {
"node": ">=14.0.0"
},
"devDependencies": {
"typescript": "^5.8.3"
}
}