{"_id":"@aicacia/result","_rev":"4-755a122428e1a02bda6c8def732c02a2","name":"@aicacia/result","dist-tags":{"latest":"0.1.3"},"versions":{"0.1.0":{"name":"@aicacia/result","version":"0.1.0","keywords":["result","ok","err","error"],"author":{"name":"Nathan Faucett"},"license":"(MIT OR Apache-2.0)","_id":"@aicacia/result@0.1.0","maintainers":[{"name":"nathanfaucett","email":"nathanfaucett@gmail.com"}],"homepage":"https://github.com/aicacia/ts-result#readme","bugs":{"url":"https://github.com/aicacia/ts-result/issues"},"nyc":{"exclude":["src/**/*.test.*","src/**/*.benchmark.*"],"include":["src"],"extension":[".ts",".tsx"]},"dist":{"shasum":"73dbe1b865d784f22976b539de26fef06ef86bfa","tarball":"https://registry.npmjs.org/@aicacia/result/-/result-0.1.0.tgz","fileCount":14,"integrity":"sha512-lr/thOZgWUGw+VW0DP3B6Jrd3L1XDymk5AX84jJ75RDmOgkLacHHIsgfPSRLO8FAdRl136hNs3m/csGuZ+WiAw==","signatures":[{"sig":"MEUCIC9Od22zQqNCQ+i3Kj3m0+xilNRYHfcLfR09d0/+TCQvAiEA5zmoRzJyiUk+ND7MHiQXzf+zUvJA/wtXYmr3ottG5xA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38218},"main":"cjs/index.js","_from":"file:aicacia-result-0.1.0.tgz","types":"types/index.d.ts","module":"esm/index.js","scripts":{"doc":"typedoc","lint":"biome lint ./src","test":"ts-node node_modules/tape/bin/tape src/**/*.test.{ts,tsx} | tap-spec","bench":"ts-node node_modules/tape/bin/tape src/**/*.benchmark.{ts,tsx} | tap-spec","build":"npm run clean && npm run buildTSC && npm run buildESM && npm run buildBrowser","clean":"rm -rf esm cjs browser types .nyc_output coverage","format":"biome format --write .","buildESM":"tsc -b tsconfig.esm.json","buildTSC":"tsc","coverage":"nyc --reporter=lcov --check-coverage --lines=75 --require ts-node/register tape src/**/*.test.{ts,tsx} | tap-spec; nyc report ---reporter=text","preCommit":"npm run format && npm run lint && npm run coverage","buildBrowser":"rollup -c","coverageHTML":"nyc --reporter=lcov --check-coverage --lines=75 --require ts-node/register tape src/**/*.test.{ts,tsx} | tap-spec; nyc report ---reporter=html"},"_npmUser":{"name":"nathanfaucett","email":"nathanfaucett@gmail.com"},"_resolved":"/tmp/5c96cab340bffd89ca06d31d9d6dac95/aicacia-result-0.1.0.tgz","_integrity":"sha512-lr/thOZgWUGw+VW0DP3B6Jrd3L1XDymk5AX84jJ75RDmOgkLacHHIsgfPSRLO8FAdRl136hNs3m/csGuZ+WiAw==","repository":{"url":"git+https://github.com/aicacia/ts-result.git","type":"git"},"_npmVersion":"10.8.2","description":"rust like result class","directories":{},"_nodeVersion":"22.5.0","_hasShrinkwrap":false,"devDependencies":{"nyc":"17","tape":"5","husky":"9","tslib":"2","rollup":"4","tap-nyc":"1","ts-node":"10","typedoc":"0","tap-spec":"5","typescript":"5","@types/tape":"5","@biomejs/biome":"1","@rollup/plugin-terser":"0","@rollup/plugin-commonjs":"28","@rollup/plugin-typescript":"12","@rollup/plugin-node-resolve":"15","rollup-plugin-esm-import-to-url":"2"},"peerDependencies":{"tslib":"2"},"_npmOperationalInternal":{"tmp":"tmp/result_0.1.0_1746447356628_0.5249150039483033","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@aicacia/result","version":"0.1.1","keywords":["result","ok","err","error","try","promise"],"author":{"name":"Nathan Faucett"},"license":"(MIT OR Apache-2.0)","_id":"@aicacia/result@0.1.1","maintainers":[{"name":"nathanfaucett","email":"nathanfaucett@gmail.com"}],"homepage":"https://github.com/aicacia/ts-result#readme","bugs":{"url":"https://github.com/aicacia/ts-result/issues"},"nyc":{"exclude":["src/**/*.test.*","src/**/*.benchmark.*"],"include":["src"],"extension":[".ts",".tsx"]},"dist":{"shasum":"db9e58df35cfd05837087e214c74f40e8af39597","tarball":"https://registry.npmjs.org/@aicacia/result/-/result-0.1.1.tgz","fileCount":14,"integrity":"sha512-odfvArqzYQT/j1Gag6O/gM6/4vmIs7ws8puOSF7ptOK/K8dZJ1af7CFLD3KBMbzMwLaydDE5wVZGndi/CWOlKw==","signatures":[{"sig":"MEQCIC753+/vW2Nf4TbzODbd0suG5docqoEKMoccpKlDqz6NAiAsonAbLaad86JhO673eHZu787nI77Mom+lsxA9GmA5Rg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38931},"main":"cjs/index.js","_from":"file:aicacia-result-0.1.1.tgz","types":"types/index.d.ts","module":"esm/index.js","scripts":{"doc":"typedoc","lint":"biome lint ./src","test":"ts-node node_modules/tape/bin/tape src/**/*.test.{ts,tsx} | tap-spec","bench":"ts-node node_modules/tape/bin/tape src/**/*.benchmark.{ts,tsx} | tap-spec","build":"npm run clean && npm run buildTSC && npm run buildESM && npm run buildBrowser","clean":"rm -rf esm cjs browser types .nyc_output coverage","format":"biome format --write .","buildESM":"tsc -b tsconfig.esm.json","buildTSC":"tsc","coverage":"nyc --reporter=lcov --check-coverage --lines=75 --require ts-node/register tape src/**/*.test.{ts,tsx} | tap-spec; nyc report ---reporter=text","preCommit":"npm run format && npm run lint && npm run coverage","buildBrowser":"rollup -c","coverageHTML":"nyc --reporter=lcov --check-coverage --lines=75 --require ts-node/register tape src/**/*.test.{ts,tsx} | tap-spec; nyc report ---reporter=html"},"_npmUser":{"name":"nathanfaucett","actor":{"name":"nathanfaucett","type":"user","email":"nathanfaucett@gmail.com"},"email":"nathanfaucett@gmail.com"},"_resolved":"/tmp/32d4153cad4978d43722327876e131e7/aicacia-result-0.1.1.tgz","_integrity":"sha512-odfvArqzYQT/j1Gag6O/gM6/4vmIs7ws8puOSF7ptOK/K8dZJ1af7CFLD3KBMbzMwLaydDE5wVZGndi/CWOlKw==","repository":{"url":"git+https://github.com/aicacia/ts-result.git","type":"git"},"_npmVersion":"11.3.0","description":"rust like result class","directories":{},"_nodeVersion":"24.0.1","_hasShrinkwrap":false,"devDependencies":{"nyc":"17","tape":"5","husky":"9","tslib":"2","rollup":"4","tap-nyc":"1","ts-node":"10","typedoc":"0","tap-spec":"5","typescript":"5","@types/tape":"5","@biomejs/biome":"1","@rollup/plugin-terser":"0","@rollup/plugin-commonjs":"28","@rollup/plugin-typescript":"12","@rollup/plugin-node-resolve":"15","rollup-plugin-esm-import-to-url":"2"},"peerDependencies":{"tslib":"2"},"_npmOperationalInternal":{"tmp":"tmp/result_0.1.1_1751359364420_0.09878841160979102","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@aicacia/result","version":"0.1.2","keywords":["result","ok","err","error","try","promise"],"author":{"name":"Nathan Faucett"},"license":"(MIT OR Apache-2.0)","_id":"@aicacia/result@0.1.2","maintainers":[{"name":"nathanfaucett","email":"nathanfaucett@gmail.com"}],"homepage":"https://github.com/aicacia/ts-result#readme","bugs":{"url":"https://github.com/aicacia/ts-result/issues"},"nyc":{"exclude":["src/**/*.test.*","src/**/*.benchmark.*"],"include":["src"],"extension":[".ts",".tsx"]},"dist":{"shasum":"5af02953fd7b000981e08d88d085911f8a9fb3ce","tarball":"https://registry.npmjs.org/@aicacia/result/-/result-0.1.2.tgz","fileCount":14,"integrity":"sha512-fBndPAI8m7m6UCpvSSesNXqTM0c6CoWvhYuCM/F1byJqz2QSey7eStyrtYA8LhxxPYHOgwcVJsHnqF1v3YciJA==","signatures":[{"sig":"MEUCIAyjlCokhur1pzPONki7fmKC8RcxE90H2f7xLzaD5M2LAiEA9cvF+UCmSMYOsyXwPIH5eL8toGEDvji2c5XKrNuvAHs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38995},"main":"cjs/index.js","_from":"file:aicacia-result-0.1.2.tgz","types":"types/index.d.ts","module":"esm/index.js","scripts":{"doc":"typedoc","lint":"biome lint ./src","test":"ts-node node_modules/tape/bin/tape src/**/*.test.{ts,tsx} | tap-spec","bench":"ts-node node_modules/tape/bin/tape src/**/*.benchmark.{ts,tsx} | tap-spec","build":"npm run clean && npm run buildTSC && npm run buildESM && npm run buildBrowser","clean":"rm -rf esm cjs browser types .nyc_output coverage","format":"biome format --write .","buildESM":"tsc -b tsconfig.esm.json","buildTSC":"tsc","coverage":"nyc --reporter=lcov --check-coverage --lines=75 --require ts-node/register tape src/**/*.test.{ts,tsx} | tap-spec; nyc report ---reporter=text","preCommit":"npm run format && npm run lint && npm run coverage","buildBrowser":"rollup -c","coverageHTML":"nyc --reporter=lcov --check-coverage --lines=75 --require ts-node/register tape src/**/*.test.{ts,tsx} | tap-spec; nyc report ---reporter=html"},"_npmUser":{"name":"nathanfaucett","actor":{"name":"nathanfaucett","type":"user","email":"nathanfaucett@gmail.com"},"email":"nathanfaucett@gmail.com"},"_resolved":"/tmp/267adafeccf66e886f243839fa198213/aicacia-result-0.1.2.tgz","_integrity":"sha512-fBndPAI8m7m6UCpvSSesNXqTM0c6CoWvhYuCM/F1byJqz2QSey7eStyrtYA8LhxxPYHOgwcVJsHnqF1v3YciJA==","repository":{"url":"git+https://github.com/aicacia/ts-result.git","type":"git"},"_npmVersion":"11.3.0","description":"rust like result class","directories":{},"_nodeVersion":"24.0.1","_hasShrinkwrap":false,"devDependencies":{"nyc":"17","tape":"5","husky":"9","tslib":"2","rollup":"4","tap-nyc":"1","ts-node":"10","typedoc":"0","tap-spec":"5","typescript":"5","@types/tape":"5","@biomejs/biome":"1","@rollup/plugin-terser":"0","@rollup/plugin-commonjs":"28","@rollup/plugin-typescript":"12","@rollup/plugin-node-resolve":"15","rollup-plugin-esm-import-to-url":"2"},"peerDependencies":{"tslib":"2"},"_npmOperationalInternal":{"tmp":"tmp/result_0.1.2_1751364863095_0.8020877318598607","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@aicacia/result","version":"0.1.3","description":"rust like result class","repository":{"type":"git","url":"git+https://github.com/aicacia/ts-result.git"},"module":"esm/index.js","main":"cjs/index.js","types":"types/index.d.ts","keywords":["result","ok","err","error","try","promise"],"author":{"name":"Nathan Faucett"},"license":"(MIT OR Apache-2.0)","devDependencies":{"@biomejs/biome":"1","@rollup/plugin-commonjs":"28","@rollup/plugin-node-resolve":"15","@rollup/plugin-terser":"0","@rollup/plugin-typescript":"12","@types/tape":"5","husky":"9","nyc":"17","rollup":"4","rollup-plugin-esm-import-to-url":"2","tap-nyc":"1","tap-spec":"5","tape":"5","ts-node":"10","tslib":"2","typedoc":"0","typescript":"5"},"peerDependencies":{"tslib":"2"},"nyc":{"include":["src"],"exclude":["src/**/*.test.*","src/**/*.benchmark.*"],"extension":[".ts",".tsx"]},"scripts":{"buildTSC":"tsc","buildESM":"tsc -b tsconfig.esm.json","buildBrowser":"rollup -c","build":"npm run clean && npm run buildTSC && npm run buildESM && npm run buildBrowser","doc":"typedoc","test":"ts-node node_modules/tape/bin/tape src/**/*.test.{ts,tsx} | tap-spec","bench":"ts-node node_modules/tape/bin/tape src/**/*.benchmark.{ts,tsx} | tap-spec","coverage":"nyc --reporter=lcov --check-coverage --lines=75 --require ts-node/register tape src/**/*.test.{ts,tsx} | tap-spec; nyc report ---reporter=text","coverageHTML":"nyc --reporter=lcov --check-coverage --lines=75 --require ts-node/register tape src/**/*.test.{ts,tsx} | tap-spec; nyc report ---reporter=html","clean":"rm -rf esm cjs browser types .nyc_output coverage","lint":"biome lint ./src","format":"biome format --write .","preCommit":"npm run format && npm run lint && npm run coverage"},"_id":"@aicacia/result@0.1.3","bugs":{"url":"https://github.com/aicacia/ts-result/issues"},"homepage":"https://github.com/aicacia/ts-result#readme","_integrity":"sha512-d80atA40vPC8EajmZEtegk/t5rHwFHipKMJmOWAHGJ7tnDZ9RivaXS0wduM49j7sk+h/2dPvSkCE0jvllqe7lw==","_resolved":"/tmp/657a9ec60a7854855d5f7d992e8ba950/aicacia-result-0.1.3.tgz","_from":"file:aicacia-result-0.1.3.tgz","_nodeVersion":"24.0.1","_npmVersion":"11.3.0","dist":{"integrity":"sha512-d80atA40vPC8EajmZEtegk/t5rHwFHipKMJmOWAHGJ7tnDZ9RivaXS0wduM49j7sk+h/2dPvSkCE0jvllqe7lw==","shasum":"215800fcfe65e708c6faea8446d609bd849bcd11","tarball":"https://registry.npmjs.org/@aicacia/result/-/result-0.1.3.tgz","fileCount":14,"unpackedSize":39687,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICT1hhAFLPQ3Jc2V/pQycAbCoZ79hrBQ4AW2TobdeAFuAiEA80Uck4KI8pLUQirgn4CQubgT8EeE3kJMqzWexFs23K4="}]},"_npmUser":{"name":"nathanfaucett","email":"nathanfaucett@gmail.com","actor":{"name":"nathanfaucett","email":"nathanfaucett@gmail.com","type":"user"}},"directories":{},"maintainers":[{"name":"nathanfaucett","email":"nathanfaucett@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/result_0.1.3_1751366534888_0.9699529595454459"},"_hasShrinkwrap":false}},"time":{"created":"2025-05-05T12:15:56.550Z","modified":"2025-07-01T10:42:15.253Z","0.1.0":"2025-05-05T12:15:56.812Z","0.1.1":"2025-07-01T08:42:44.577Z","0.1.2":"2025-07-01T10:14:23.247Z","0.1.3":"2025-07-01T10:42:15.067Z"},"bugs":{"url":"https://github.com/aicacia/ts-result/issues"},"author":{"name":"Nathan Faucett"},"license":"(MIT OR Apache-2.0)","homepage":"https://github.com/aicacia/ts-result#readme","keywords":["result","ok","err","error","try","promise"],"repository":{"type":"git","url":"git+https://github.com/aicacia/ts-result.git"},"description":"rust like result class","maintainers":[{"name":"nathanfaucett","email":"nathanfaucett@gmail.com"}],"readme":"# ts-result\n\n[![license](https://img.shields.io/badge/license-MIT%2FApache--2.0-blue\")](LICENSE-MIT)\n[![docs](https://img.shields.io/badge/docs-typescript-blue.svg)](https://aicacia.github.io/ts-result/)\n[![npm (scoped)](https://img.shields.io/npm/v/@aicacia/result)](https://www.npmjs.com/package/@aicacia/result)\n[![build](https://github.com/aicacia/ts-result/workflows/Test/badge.svg)](https://github.com/aicacia/ts-result/actions?query=workflow%3ATest)\n\nrust like result class\n\n```ts\nimport { Result, ok, err, trycatch  } from \"@aicacia/result\";\n```\n","readmeFilename":"README.md"}