{"_id":"@alt-stack/result","_rev":"11-2dc3bec350112dc208d7b5ddfc29b27a","name":"@alt-stack/result","dist-tags":{"latest":"1.6.2"},"versions":{"0.1.1":{"name":"@alt-stack/result","version":"0.1.1","keywords":["result","either","effect","error-handling","typescript"],"author":"","license":"MIT","_id":"@alt-stack/result@0.1.1","maintainers":[{"name":"aaltieri","email":"anthony@timebyping.com"}],"dist":{"shasum":"47176b9efd5bd31e38d36f749e34c1a57aae2525","tarball":"https://registry.npmjs.org/@alt-stack/result/-/result-0.1.1.tgz","fileCount":23,"integrity":"sha512-NnrPgw1yf7sikuLU8Al1H42NshT3JNKiZC8uvLdnBkF6nPtMldDriNe4B+6mpESSb2fsO2RzS7RFuPU37p+Bbg==","signatures":[{"sig":"MEUCIB9uH7AZbTfiaRjh/jDfeGw0DPmRVBt9H/S28vktZ6B5AiEAhbXYlK0KuHPS47Qpr7mdG64kPAU6J757TLq2lTcnLnk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":86454},"main":"./dist/index.js","_from":"file:alt-stack-result-0.1.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"test":"vitest","build":"tsup","check-types":"tsc --noEmit"},"_npmUser":{"name":"aaltieri","email":"anthony@timebyping.com"},"_resolved":"/tmp/d7dab997b162ef4804bbe5bb2cfa019d/alt-stack-result-0.1.1.tgz","_integrity":"sha512-NnrPgw1yf7sikuLU8Al1H42NshT3JNKiZC8uvLdnBkF6nPtMldDriNe4B+6mpESSb2fsO2RzS7RFuPU37p+Bbg==","_npmVersion":"10.8.2","description":"Type-safe Result type for explicit error handling inspired by Effect-TS","directories":{},"_nodeVersion":"20.19.6","_hasShrinkwrap":false,"devDependencies":{"zod":"^4.0.0","tsup":"^8.0.0","oxlint":"^1.24.0","vitest":"^4.0.3","typescript":"^5.9.2"},"peerDependencies":{"zod":"^4.0.0"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/result_0.1.1_1765256251870_0.45968893275615996","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@alt-stack/result","version":"0.1.2","keywords":["result","either","effect","error-handling","typescript"],"author":"","license":"MIT","_id":"@alt-stack/result@0.1.2","maintainers":[{"name":"aaltieri","email":"anthony@timebyping.com"}],"dist":{"shasum":"d11fa465d76a1cb5c5f5ef2747b5ac0d16e76b47","tarball":"https://registry.npmjs.org/@alt-stack/result/-/result-0.1.2.tgz","fileCount":23,"integrity":"sha512-E/9UgYXfOvvqaEnmNWLL5uOJOtPTRsdoJpieceIMqkfGrKmoFvc+3PFjw+ghJBI6+/8soMFVH77S4/UEIoO8kg==","signatures":[{"sig":"MEUCIQD0+Pm67UBLS8xtaOA0Nyr/tjl9M+5oiK+emuuIQcOzPQIgINc9VRgiX/NQh4tv/sw9snYufdE3IprFBJ9JqerfL3I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":86418},"main":"./dist/index.js","_from":"file:alt-stack-result-0.1.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"test":"vitest","build":"tsup","check-types":"tsc --noEmit"},"_npmUser":{"name":"aaltieri","email":"anthony@timebyping.com"},"_resolved":"/tmp/0235202693e430537c01997db368febd/alt-stack-result-0.1.2.tgz","_integrity":"sha512-E/9UgYXfOvvqaEnmNWLL5uOJOtPTRsdoJpieceIMqkfGrKmoFvc+3PFjw+ghJBI6+/8soMFVH77S4/UEIoO8kg==","_npmVersion":"10.8.2","description":"Type-safe Result type for explicit error handling inspired by Effect-TS","directories":{},"_nodeVersion":"20.19.6","_hasShrinkwrap":false,"devDependencies":{"zod":"^4.0.0","tsup":"^8.0.0","oxlint":"^1.24.0","vitest":"^4.0.3","typescript":"^5.9.2"},"peerDependencies":{"zod":"^4.0.0"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/result_0.1.2_1765256826552_0.42885323890867544","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@alt-stack/result","version":"0.1.3","keywords":["result","either","effect","error-handling","typescript"],"author":"","license":"MIT","_id":"@alt-stack/result@0.1.3","maintainers":[{"name":"aaltieri","email":"anthony@timebyping.com"}],"dist":{"shasum":"3f4ff9ac3ad343544de3970e108e497a8bd81945","tarball":"https://registry.npmjs.org/@alt-stack/result/-/result-0.1.3.tgz","fileCount":23,"integrity":"sha512-jyn45MPSMTsePKfPurqLUKAl0IJ66ptElpg/vdCswuhmku++3sXo2ax8HJnp3DM3LqP1VW0lTgWe9mD8UZQi2w==","signatures":[{"sig":"MEUCIQDtF5p5VVLXond2VemVImwd2pSeadB5bcxefrTXjwEeKAIgQ4MjSifURRTxNgJxAIGd1pW4NK0nFZkzZJGLj+ymLWw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":87363},"main":"./dist/index.js","_from":"file:alt-stack-result-0.1.3.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"test":"vitest","build":"tsup","check-types":"tsc --noEmit"},"_npmUser":{"name":"aaltieri","email":"anthony@timebyping.com"},"_resolved":"/tmp/d238da6f139621fbaf1192292165b864/alt-stack-result-0.1.3.tgz","_integrity":"sha512-jyn45MPSMTsePKfPurqLUKAl0IJ66ptElpg/vdCswuhmku++3sXo2ax8HJnp3DM3LqP1VW0lTgWe9mD8UZQi2w==","_npmVersion":"10.8.2","description":"Type-safe Result type for explicit error handling inspired by Effect-TS","directories":{},"_nodeVersion":"20.19.6","_hasShrinkwrap":false,"devDependencies":{"zod":"^4.0.0","tsup":"^8.0.0","oxlint":"^1.24.0","vitest":"^4.0.3","typescript":"^5.9.2"},"peerDependencies":{"zod":"^4.0.0"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/result_0.1.3_1765300815615_0.12495294423986358","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@alt-stack/result","version":"0.1.0","keywords":["result","either","effect","error-handling","typescript"],"author":"","license":"MIT","_id":"@alt-stack/result@0.1.0","maintainers":[{"name":"aaltieri","email":"anthony@timebyping.com"}],"dist":{"shasum":"8c78ffbcf94da246dcbbc5821817b3246481e708","tarball":"https://registry.npmjs.org/@alt-stack/result/-/result-0.1.0.tgz","fileCount":23,"integrity":"sha512-f4VlrTiByvW5luJYACB0urC1fg9YU/XiM904zay1cY2S0JZ/mZkvKTdHsBqL32cKhq5J+k2FydCxknz8+galyg==","signatures":[{"sig":"MEQCIC0nT0D3+ib42t6PqcLRyWpFz2cfaZ2qujkVuZJnxN0IAiBKCfOvh4gsoCX7QoD9cg7Y9jge83vtxYu2IyLa9gtl+A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":87363},"main":"./dist/index.js","_from":"file:alt-stack-result-0.1.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"test":"vitest","build":"tsup","check-types":"tsc --noEmit"},"_npmUser":{"name":"aaltieri","email":"anthony@timebyping.com"},"_resolved":"/tmp/0dddf4d56ec47f800d8c518cbfc719a3/alt-stack-result-0.1.0.tgz","_integrity":"sha512-f4VlrTiByvW5luJYACB0urC1fg9YU/XiM904zay1cY2S0JZ/mZkvKTdHsBqL32cKhq5J+k2FydCxknz8+galyg==","_npmVersion":"10.8.2","description":"Type-safe Result type for explicit error handling inspired by Effect-TS","directories":{},"_nodeVersion":"20.19.6","_hasShrinkwrap":false,"devDependencies":{"zod":"^4.0.0","tsup":"^8.0.0","oxlint":"^1.24.0","vitest":"^4.0.3","typescript":"^5.9.2"},"peerDependencies":{"zod":"^4.0.0"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/result_0.1.0_1765302494351_0.4416272450459149","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@alt-stack/result","version":"0.1.4","keywords":["result","either","effect","error-handling","typescript"],"author":"","license":"MIT","_id":"@alt-stack/result@0.1.4","maintainers":[{"name":"aaltieri","email":"anthony@timebyping.com"}],"dist":{"shasum":"958fdbd80756b2050f519e503a7d431833f6eb05","tarball":"https://registry.npmjs.org/@alt-stack/result/-/result-0.1.4.tgz","fileCount":24,"integrity":"sha512-yVA9A6umv2ucTPVnT/QC6p8MEj6XniAcm+HWk40+/hcO+LUyjlbHVQuR+lP5048/z6UjW31jJuXwavQpnCoW5w==","signatures":[{"sig":"MEQCIDnKoqjBFOwKYMBJuGXMX/Zr7IYzRXSIFTZEjXjXMRe/AiBoR+RTvvaGIdtck8QBSFQJniLECW3SV/n5BusoG0l7UA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":137671},"main":"./dist/index.js","_from":"file:alt-stack-result-0.1.4.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"test":"vitest","build":"tsup","check-types":"tsc --noEmit"},"_npmUser":{"name":"aaltieri","email":"anthony@timebyping.com"},"_resolved":"/tmp/bba46ac2fbb9b1e62109e11eb08ad4b8/alt-stack-result-0.1.4.tgz","_integrity":"sha512-yVA9A6umv2ucTPVnT/QC6p8MEj6XniAcm+HWk40+/hcO+LUyjlbHVQuR+lP5048/z6UjW31jJuXwavQpnCoW5w==","_npmVersion":"10.8.2","description":"Type-safe Result type for explicit error handling inspired by Effect-TS","directories":{},"_nodeVersion":"20.19.6","_hasShrinkwrap":false,"devDependencies":{"zod":"^4.0.0","tsup":"^8.0.0","oxlint":"^1.24.0","vitest":"^4.0.3","typescript":"^5.9.2"},"peerDependencies":{"zod":"^4.0.0"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/result_0.1.4_1765324739247_0.8154433865167909","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"@alt-stack/result","version":"1.4.0","keywords":["result","either","effect","error-handling","typescript"],"author":"","license":"MIT","_id":"@alt-stack/result@1.4.0","maintainers":[{"name":"aaltieri","email":"anthony@timebyping.com"}],"dist":{"shasum":"56a011c568a5663891a484a1c2a5f91c3f087057","tarball":"https://registry.npmjs.org/@alt-stack/result/-/result-1.4.0.tgz","fileCount":25,"integrity":"sha512-teyOLXf2iyGfeX3YhshPGwfOF5Iq9Vlqs1DKvly4OwWIDNAo2H7NPfaf6SvDBgjKznKZwDHYDEenBdgJT6y4OA==","signatures":[{"sig":"MEQCIBxgG2r75YSPZdwmdZaQ3RFIf5h4B7YL2PkZtd2u9tVDAiBJSxR+cPM/g8ZKThnChgWjzZN8Ub9vslAy6tDKsfl6yQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":137704},"main":"./dist/index.js","_from":"file:alt-stack-result-1.4.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"test":"vitest","build":"tsup","check-types":"tsc --noEmit"},"_npmUser":{"name":"aaltieri","email":"anthony@timebyping.com"},"_resolved":"/tmp/3922bd48ef8ef2f1d8d6397b227e1f88/alt-stack-result-1.4.0.tgz","_integrity":"sha512-teyOLXf2iyGfeX3YhshPGwfOF5Iq9Vlqs1DKvly4OwWIDNAo2H7NPfaf6SvDBgjKznKZwDHYDEenBdgJT6y4OA==","_npmVersion":"10.8.2","description":"Type-safe Result type for explicit error handling inspired by Effect-TS","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"zod":"^4.0.0","tsup":"^8.0.0","oxlint":"^1.24.0","vitest":"^4.0.3","typescript":"^5.9.2"},"peerDependencies":{"zod":"^4.0.0"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/result_1.4.0_1783621688924_0.4310529592697807","host":"s3://npm-registry-packages-npm-production"}},"1.5.0":{"name":"@alt-stack/result","version":"1.5.0","keywords":["result","either","effect","error-handling","typescript"],"author":"","license":"MIT","_id":"@alt-stack/result@1.5.0","maintainers":[{"name":"aaltieri","email":"anthony@timebyping.com"}],"dist":{"shasum":"7d5bac5f0813be5f0cc1218e5253382e8403f1a8","tarball":"https://registry.npmjs.org/@alt-stack/result/-/result-1.5.0.tgz","fileCount":25,"integrity":"sha512-pdNDCAxcz4Vu/jde6piY5ZkW0RX83i6KMXREqi7iezoF1qDocU5TeXEzcCGesHrO+bnzPtq0neS66tEkDOCHcw==","signatures":[{"sig":"MEQCIFLTdS4vwti8jeJg57RN+10UkcPauJd6ovj5P6I8sMTMAiAkzgHikpmEUmNH7xzKNdQPLPhPbTfR2+Y891uubI+ceQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":135226},"main":"./dist/index.js","_from":"file:alt-stack-result-1.5.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"test":"vitest","build":"tsup","check-types":"tsc --noEmit"},"_npmUser":{"name":"aaltieri","email":"anthony@timebyping.com"},"_resolved":"/tmp/15f97f04870f33bfd23d27bc6b6ec8db/alt-stack-result-1.5.0.tgz","_integrity":"sha512-pdNDCAxcz4Vu/jde6piY5ZkW0RX83i6KMXREqi7iezoF1qDocU5TeXEzcCGesHrO+bnzPtq0neS66tEkDOCHcw==","_npmVersion":"10.8.2","description":"Type-safe Result type for explicit error handling inspired by Effect-TS","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"zod":"^4.0.0","tsup":"^8.0.0","oxlint":"^1.24.0","vitest":"^4.0.3","typescript":"^5.9.2"},"peerDependencies":{"zod":"^4.0.0"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/result_1.5.0_1783713607053_0.15257974733402935","host":"s3://npm-registry-packages-npm-production"}},"1.5.1":{"name":"@alt-stack/result","version":"1.5.1","keywords":["result","either","effect","error-handling","typescript"],"author":"","license":"MIT","_id":"@alt-stack/result@1.5.1","maintainers":[{"name":"aaltieri","email":"anthony@timebyping.com"}],"dist":{"shasum":"0ffc227bc3a9a18e3525a0933497667d1745459d","tarball":"https://registry.npmjs.org/@alt-stack/result/-/result-1.5.1.tgz","fileCount":25,"integrity":"sha512-fuvEtEih1Y075d0suCTO6R7RBebNyeuSW2vgdPhwnkMkBIyhqS3weA/3EURJnh96IHfTnD+bKz6Mun/XY/q32Q==","signatures":[{"sig":"MEQCIE8jm8rZ3ojCrIe/k0q62vvUi7DLF6rvzUCcFCL3p1ucAiBnyhypA7QiOzzPkpc5wzLAVlCAsRjB0R46KFQRdE4pMQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":135236},"main":"./dist/index.js","_from":"file:alt-stack-result-1.5.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"test":"vitest","build":"tsup","check-types":"tsc --noEmit"},"_npmUser":{"name":"aaltieri","email":"anthony@timebyping.com"},"_resolved":"/tmp/197f9f666bcde12f2aa5db539207b6aa/alt-stack-result-1.5.1.tgz","_integrity":"sha512-fuvEtEih1Y075d0suCTO6R7RBebNyeuSW2vgdPhwnkMkBIyhqS3weA/3EURJnh96IHfTnD+bKz6Mun/XY/q32Q==","_npmVersion":"10.8.2","description":"Type-safe Result type for explicit error handling inspired by Effect-TS","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"zod":"^4.0.0","tsup":"^8.0.0","oxlint":"^1.24.0","vitest":"^4.0.3","typescript":"^5.9.2"},"peerDependencies":{"zod":"^4.0.0"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/result_1.5.1_1784059626718_0.6434850389262259","host":"s3://npm-registry-packages-npm-production"}},"1.6.0":{"name":"@alt-stack/result","version":"1.6.0","keywords":["result","either","effect","error-handling","typescript"],"author":"","license":"MIT","_id":"@alt-stack/result@1.6.0","maintainers":[{"name":"aaltieri","email":"anthony@timebyping.com"}],"dist":{"shasum":"d0cf1431841bcc1d797f44a793d323e1f332f2dc","tarball":"https://registry.npmjs.org/@alt-stack/result/-/result-1.6.0.tgz","fileCount":25,"integrity":"sha512-UdqVUSvIEbEALzpAxMXwW7O4JCffWOvP2prDqmhCLC1V7ED6OgVIrNw0kWAjxsl03Y53oHWQYFrM2dAilkyLsQ==","signatures":[{"sig":"MEUCIQDmRxHmKyOP9z74tBCA4ns+G/VARmkrzcfDv+etqjfojAIgaeSao32Ybh5ywoPvGydX6wOunRLI1+S3u8RBwnJwDtQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":135244},"main":"./dist/index.js","_from":"file:alt-stack-result-1.6.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"test":"vitest","build":"tsup","check-types":"tsc --noEmit"},"_npmUser":{"name":"aaltieri","email":"anthony@timebyping.com"},"_resolved":"/tmp/1a342fb7383ddcb9ca0b5dda7755db35/alt-stack-result-1.6.0.tgz","_integrity":"sha512-UdqVUSvIEbEALzpAxMXwW7O4JCffWOvP2prDqmhCLC1V7ED6OgVIrNw0kWAjxsl03Y53oHWQYFrM2dAilkyLsQ==","_npmVersion":"10.8.2","description":"Type-safe Result type for explicit error handling inspired by Effect-TS","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"zod":"^4.0.0","tsup":"^8.0.0","oxlint":"^1.24.0","vitest":"^4.0.3","typescript":"^5.9.2"},"peerDependencies":{"zod":"^4.0.0"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/result_1.6.0_1784714956292_0.9676869307507758","host":"s3://npm-registry-packages-npm-production"}},"1.6.1":{"name":"@alt-stack/result","version":"1.6.1","keywords":["result","either","effect","error-handling","typescript"],"author":"","license":"MIT","_id":"@alt-stack/result@1.6.1","maintainers":[{"name":"aaltieri","email":"anthony@timebyping.com"}],"dist":{"shasum":"1e151c3ef4645389c2833bbbab73e7d83c89fbb1","tarball":"https://registry.npmjs.org/@alt-stack/result/-/result-1.6.1.tgz","fileCount":25,"integrity":"sha512-u6O/K8Xus6q9HW6fN9Cm2BV24eBsbUEFATB1UZav5SsimMivj9CRxbIZhhJEjeEQs0+PemTBkR5kIusVR3N1Sw==","signatures":[{"sig":"MEQCIBj8uBm6jyyG6Gf9Iax/iMCtw51zKTbeG/j024zv3exAAiADxvkJ+d2wuXikYWI5dXMYSNROY31rIKZVHbpI3daK8Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":135254},"main":"./dist/index.js","_from":"file:alt-stack-result-1.6.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"test":"vitest","build":"tsup","check-types":"tsc --noEmit"},"_npmUser":{"name":"aaltieri","email":"anthony@timebyping.com"},"_resolved":"/tmp/fffebc245516253219058e22a5f250d0/alt-stack-result-1.6.1.tgz","_integrity":"sha512-u6O/K8Xus6q9HW6fN9Cm2BV24eBsbUEFATB1UZav5SsimMivj9CRxbIZhhJEjeEQs0+PemTBkR5kIusVR3N1Sw==","_npmVersion":"10.8.2","description":"Type-safe Result type for explicit error handling inspired by Effect-TS","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"zod":"^4.0.0","tsup":"^8.0.0","oxlint":"^1.24.0","vitest":"^4.0.3","typescript":"^5.9.2"},"peerDependencies":{"zod":"^4.0.0"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/result_1.6.1_1785249166767_0.959559687975414","host":"s3://npm-registry-packages-npm-production"}},"1.6.2":{"name":"@alt-stack/result","version":"1.6.2","description":"Type-safe Result type for explicit error handling inspired by Effect-TS","main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"keywords":["result","either","effect","error-handling","typescript"],"author":"","license":"MIT","peerDependencies":{"zod":"^4.0.0"},"peerDependenciesMeta":{"zod":{"optional":true}},"devDependencies":{"oxlint":"^1.24.0","tsup":"^8.0.0","typescript":"^5.9.2","vitest":"^4.0.3","zod":"^4.0.0"},"scripts":{"build":"tsup","test":"vitest","check-types":"tsc --noEmit"},"_id":"@alt-stack/result@1.6.2","_integrity":"sha512-in84W8QO7Cl6dQg4mbext7yCvbeEtQEnaAFAxzZsPTtnOl4SCv15nhomrd8Sb+8+lvqUEtYZQH8LLLsAj3U95A==","_resolved":"/tmp/58cfaabe7064029c33efbf8fb536b784/alt-stack-result-1.6.2.tgz","_from":"file:alt-stack-result-1.6.2.tgz","_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-in84W8QO7Cl6dQg4mbext7yCvbeEtQEnaAFAxzZsPTtnOl4SCv15nhomrd8Sb+8+lvqUEtYZQH8LLLsAj3U95A==","shasum":"c06636061c94d171229244fabe20d5600bd6cf4f","tarball":"https://registry.npmjs.org/@alt-stack/result/-/result-1.6.2.tgz","fileCount":25,"unpackedSize":135265,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICEPneP/E69NClaL3JCKW8wJ/10I20BkwTEXUk2Zsw0vAiBB+UH/pLR+HoTmbCCfZVrppEkLKwv0xqbCIYJHcUWAsw=="}]},"_npmUser":{"name":"aaltieri","email":"anthony@timebyping.com"},"directories":{},"maintainers":[{"name":"aaltieri","email":"anthony@timebyping.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/result_1.6.2_1787164488410_0.6235028113901766"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-09T04:57:31.803Z","modified":"2026-08-19T18:34:49.144Z","0.1.1":"2025-12-09T04:57:32.020Z","0.1.2":"2025-12-09T05:07:06.694Z","0.1.3":"2025-12-09T17:20:15.758Z","0.1.0":"2025-12-09T17:48:14.481Z","0.1.4":"2025-12-09T23:58:59.417Z","1.4.0":"2026-07-09T18:28:09.055Z","1.5.0":"2026-07-10T20:00:07.220Z","1.5.1":"2026-07-14T20:07:06.886Z","1.6.0":"2026-07-22T10:09:16.420Z","1.6.1":"2026-07-28T14:32:46.902Z","1.6.2":"2026-08-19T18:34:48.565Z"},"license":"MIT","keywords":["result","either","effect","error-handling","typescript"],"description":"Type-safe Result type for explicit error handling inspired by Effect-TS","maintainers":[{"name":"aaltieri","email":"anthony@timebyping.com"}],"readme":"# `@alt-stack/result`\n\nTyped success and expected failure values for Altstack and standalone TypeScript applications.\n\n## Install\n\n```bash\npnpm add @alt-stack/result\n```\n\nThe implementation has no runtime dependency. Its manifest declares Zod 4 as an optional peer for ecosystem compatibility.\n\n## Quickstart\n\n```typescript\nimport {\n  TaggedError,\n  err,\n  isErr,\n  ok,\n  type Result,\n} from \"@alt-stack/result\";\n\nclass MissingUserError extends TaggedError<\"MissingUserError\"> {\n  readonly _tag = \"MissingUserError\" as const;\n\n  constructor(readonly userId: string) {\n    super(`User ${userId} was not found`);\n  }\n}\n\nfunction loadUser(id: string): Result<{ id: string }, MissingUserError> {\n  return id === \"u_123\" ? ok({ id }) : err(new MissingUserError(id));\n}\n\nconst result = loadUser(\"missing\");\nif (isErr(result)) {\n  console.error(result.error._tag, result.error.userId);\n} else {\n  console.log(result.value.id);\n}\n```\n\nA `Result` has an outer `_tag` of `\"Ok\"` or `\"Err\"`. A failure carries an actual `Error` instance with a string `_tag`. A readonly literal tag is not required for `ResultError` conformance, but it enables exhaustive narrowing of an error union. Supplying `TaggedError<\"MissingUserError\">` makes the base class enforce that exact literal.\n\n## Public surface\n\n- construction and guards: `ok`, `err`, `isOk`, `isErr`;\n- composition: `map`, `flatMap`, `mapError`, `catchError`;\n- extraction and matching: `unwrap`, defaults, `match`, and `fold`;\n- async boundaries: `fromPromise`, `tryCatch`, and `tryCatchAsync`;\n- collections and observation: `all`, `firstOk`, `tap`, and `tapError`;\n- tagged errors and inference helpers: `TaggedError`, `ResultAggregateError`, `isResultError`, `assertResultError`, and the exported helper types.\n\n## Documentation\n\n- [Quickstart](https://altstack-docs.vercel.app/result/quickstart)\n- [Common patterns](https://altstack-docs.vercel.app/result/common-patterns)\n- [API Documentation](https://altstack-docs.vercel.app/result/api)\n\n## Development\n\nFrom the repository root:\n\n```bash\npnpm --filter @alt-stack/result exec vitest run src/result.spec.ts\npnpm --filter @alt-stack/result check-types\npnpm --filter @alt-stack/result build\n```\n","readmeFilename":"README.md"}