{"_id":"@expo/results","_rev":"72-06f51f90f0e516220f8da19784c39ebc","name":"@expo/results","dist-tags":{"latest":"1.0.0"},"versions":{"0.1.0":{"name":"@expo/results","version":"0.1.0","keywords":["result","fulfilled","rejected","allsettled"],"author":{"name":"Expo"},"license":"MIT","_id":"@expo/results@0.1.0","maintainers":[{"name":"wolewicki","email":"wojciech.lewicki@swmansion.com"},{"name":"exponent","email":"exponent.team@gmail.com"},{"name":"tcdavis","email":"tc@expo.io"},{"name":"dsokal","email":"dominiksokal@gmail.com"},{"name":"sjchmiela","email":"sjchmiela@gmail.com"},{"name":"szymon20000","email":"szymon.kapala@swmansion.com"},{"name":"tsapeta","email":"sapeta.tomasz@gmail.com"},{"name":"charliecruzan","email":"charliecruzan@gmail.com"},{"name":"mczernek","email":"czernekmichal@gmail.com"},{"name":"expoadmin","email":"support@expo.io"},{"name":"fson","email":"ville.immonen@iki.fi"},{"name":"esamelson","email":"eric@expo.io"},{"name":"quinlanj","email":"quinlanjung@gmail.com"},{"name":"evanbacon","email":"baconbrix@gmail.com"},{"name":"ccheever","email":"ccheever@gmail.com"},{"name":"brentvatne","email":"brentvatne@gmail.com"},{"name":"ide","email":"ide+npm@jameside.com"}],"dist":{"shasum":"8b295e8497d3bda7f84b30bf9e7eb877f66c39cb","tarball":"https://registry.npmjs.org/@expo/results/-/results-0.1.0.tgz","fileCount":9,"integrity":"sha512-GpHcgLZRCmmUk3KqyxbEfwl2SqnXNN6qXxv21mpdJIVh9jYRdr8Q0E9eMuJNghni2ox4xOGy/7eI/WxMPQ/biQ==","signatures":[{"sig":"MEUCIEQDjxt8qX5xAatcS0AKjUN151hgMZ9eodGy2Pb3ccL4AiEAl/jjGw/csoYX+H7ZADnkqWPNencPy6tSKfG5OduDErw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20347,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd/W7pCRA9TVsSAnZWagAAz4cP/0DzKDJRq+wGtzGiJP5/\nKNfuBVdjAQy2es5WVTmKU5NdZcCS4Ify5i2MxprvZxhWi8HA0EgjaHCFixXv\nDFP3wX9n8iIwN+ASh4bS2WIdSJjUZx4yz7oXWYw65qWW2Iz8k8m10fmt+azb\nwrCN8c+ihM06sE1ycBsd9KHh/W4EC5vQtHXIA1brPPf5SFqQB8xBJvlGiHIF\n/SqigRcrBZ54LaUD1JaiD1bsEUl5h8XWuIiUw2swe1vrN6TZEUSterGX7CKD\n7sErgTmzD5coutLnHt3jVnP2Y9/ZigMeVNtVfHW1WO7CXdH6qzMgqvULP/Pc\nzKL1Jb8qJGf4TxTDsY4Ilg2MCVbvm7mwoYcfZtCD/V/ZnJ3/Y6oK7wCrmO8r\nncNHcZv+nuac32t2Xlh6e5vCZt2kfCWqDSgQGVEbjHM2Uxdmw/QhAtht3qlD\nAoaNJ922nEhelR6AkHJrii0/DEotKOq6VJgqB/32mRciYAHA48V0N0mGOx50\nq26TLZYMFwJZT/CZukRp6gRKHtIE5k0cEyK0O0GdX4sSb7xY3NUsfMpGOu0l\n7s9fYIaysaHWofAlH1FtX5uJq69hPZmuDHyHt5lH4sruV0o08GrggiCD0Mua\nvMX0fNSAbmeYr63FpeGqkfgIbXwdzkemFGrm5NHJB+U7DYdwWJiXJFfyavxV\nnQ5r\r\n=SrK0\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/src/"],"preset":"ts-jest"},"main":"build/results.js","engines":{"node":">=8"},"scripts":{"test":"jest","clean":"rm -rf build coverage","prepare":"tsc","prepublish":"rm -rf build coverage"},"_npmUser":{"name":"ide","email":"ide+npm@jameside.com"},"_npmVersion":"6.11.3","description":"An efficient, standards-compliant library for representing results of successful or failed operations","directories":{},"_nodeVersion":"10.17.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^24.9.0","ts-jest":"~24.2.0","typescript":"^3.7.3","@types/jest":"^24.0.24"},"_npmOperationalInternal":{"tmp":"tmp/results_0.1.0_1576890088334_0.2398951987393485","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@expo/results","version":"0.1.1","keywords":["result","fulfilled","rejected","allsettled"],"author":{"name":"Expo"},"license":"MIT","_id":"@expo/results@0.1.1","maintainers":[{"name":"bbarthec","email":"bartlomiejbukowski.b@gmail.com"},{"name":"brentvatne","email":"brentvatne@gmail.com"},{"name":"ccheever","email":"ccheever@gmail.com"},{"name":"charliecruzan","email":"charliecruzan@gmail.com"},{"name":"dsokal","email":"dominiksokal@gmail.com"},{"name":"esamelson","email":"eric@expo.io"},{"name":"evanbacon","email":"baconbrix@gmail.com"},{"name":"expoadmin","email":"support@expo.io"},{"name":"exponent","email":"exponent.team@gmail.com"},{"name":"fson","email":"ville.immonen@iki.fi"},{"name":"ide","email":"ide+npm@jameside.com"},{"name":"mczernek","email":"czernekmichal@gmail.com"},{"name":"quinlanj","email":"quinlanjung@gmail.com"},{"name":"sjchmiela","email":"sjchmiela@gmail.com"},{"name":"tcdavis","email":"tc@expo.io"},{"name":"tsapeta","email":"sapeta.tomasz@gmail.com"},{"name":"wkozyra","email":"wojciech.kozyra@swmansion.com"},{"name":"wschurman","email":"wschurman@gmail.com"}],"dist":{"shasum":"d64b3a6cfe8e2f434292d7f097b80591d9bbf122","tarball":"https://registry.npmjs.org/@expo/results/-/results-0.1.1.tgz","fileCount":11,"integrity":"sha512-WHU0cpGE85GqE47pZibz44arIt2WECOsbe3JvXnR5dxKN4BKiklEvpJNZkvlwFsOXdIBEdg2TLDuMqSjnbNjBg==","signatures":[{"sig":"MEUCIQC1bJQAKX7VKwpuWewg0ugm/ui/pnHpMR5gIWvLRAflNgIgVAbtZ3DgGPIVevLrhG1l2mw0oncNfOCG2F3ncu9t7iY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24426,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeCl8xCRA9TVsSAnZWagAA49UQAI0asVOBs7DoKfW/PTVL\nbilCR4OYbqQE3Oek3lN5WfmLzE2Sef1sUHaEYzDavMsNsVeVUnxnBtvbBgwd\nsN/a2g9og4d2TcirjmvwC1BU7qzyH9Toodc0lrPNl0iH5gap0xpJ4GHKZVpH\n7R2AzO4xen5ThDW8r+XWaOZeqWZq8TDMJDTFXNWbxoHfxOiFV2/cRebsZRNY\nZNKx135hIbAnHrhvPksBMve4muoIGdGneH9iKXYGX0ivGRBboJJ1jG62aOt6\nScXeByn9UPIWGjdJ4hn+ihMtbV2DVfDk7iGwyg7rY2R/XbaSGcs3fQ7+kGsW\nsCQ/+lYM/SVWLe/srCozcvvhoCmKpR3bbJ0Oi9xBEo7VK9P7rubixk3PCXS0\ncs8FCHpSZQ6Fwj3SArEIdnkvBEPcnfrmx71B5zoTayV8AEdcy8gByzbVpf7u\nsFPNesNbHE4FQqexx2/T5OIPRLc4OlaQAy061qT7ruwxYqmYkgTOCbWQT6MX\n1LMQdYYmojEb3t3EY2xoh0CwxhZniGyGiDrfLSY+HVeymlW7+Sisup8gfHHV\n26z5Xpu3OLYPtuxJYBpS6aofJCe4C5RaPjqYlnOTMi+lmDY7jvV1A+tncj6o\nH5OXGAiWs92n1H3S0cJULl9zzlqri+hADUM7sfHkb9FA7EyGALZ4FSKSAFDk\nPTRG\r\n=+0TM\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/src/"],"preset":"ts-jest"},"main":"build/results.js","types":"build/results.d.ts","engines":{"node":">=8"},"scripts":{"test":"jest","clean":"rm -rf build coverage","prepare":"tsc","prepublish":"rm -rf build coverage"},"_npmUser":{"name":"wschurman","email":"wschurman@gmail.com"},"_npmVersion":"6.11.3","description":"An efficient, standards-compliant library for representing results of successful or failed operations","directories":{},"_nodeVersion":"10.17.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^24.9.0","ts-jest":"~24.2.0","typescript":"^3.7.3","@types/jest":"^24.0.24"},"_npmOperationalInternal":{"tmp":"tmp/results_0.1.1_1577738033324_0.42301173660838587","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@expo/results","version":"0.2.0","keywords":["result","fulfilled","rejected","allsettled"],"author":{"name":"Expo"},"license":"MIT","_id":"@expo/results@0.2.0","maintainers":[{"name":"bbarthec","email":"bartlomiejbukowski.b@gmail.com"},{"name":"brentvatne","email":"brentvatne@gmail.com"},{"name":"ccheever","email":"ccheever@gmail.com"},{"name":"charliecruzan","email":"charliecruzan@gmail.com"},{"name":"dsokal","email":"dominiksokal@gmail.com"},{"name":"esamelson","email":"eric@expo.io"},{"name":"evanbacon","email":"baconbrix@gmail.com"},{"name":"expoadmin","email":"support@expo.io"},{"name":"exponent","email":"exponent.team@gmail.com"},{"name":"fson","email":"ville.immonen@iki.fi"},{"name":"ide","email":"ide+npm@jameside.com"},{"name":"mczernek","email":"czernekmichal@gmail.com"},{"name":"quinlanj","email":"quinlanjung@gmail.com"},{"name":"sjchmiela","email":"sjchmiela@gmail.com"},{"name":"tcdavis","email":"tc@expo.io"},{"name":"tsapeta","email":"sapeta.tomasz@gmail.com"},{"name":"wkozyra","email":"wojciech.kozyra@swmansion.com"},{"name":"wschurman","email":"wschurman@gmail.com"}],"dist":{"shasum":"ec020006f8b7ea829fb2a0e496a21ed21fef10e5","tarball":"https://registry.npmjs.org/@expo/results/-/results-0.2.0.tgz","fileCount":12,"integrity":"sha512-PsCpwG1b9XIaBZp9lhBTCKiPJEO/4zNLAMdsWVg6hwDGYLX+7G7SEdo2bgC7LP48zcS3M2CUNry7+aGy72xxXg==","signatures":[{"sig":"MEQCIGSFB90WhpwNuOAZO137p3Pyrgvoy7DojRZMHhGx235NAiBJfryVThr1iMTyGugBJjW4axcqYmZKN0hqpt+9zWvRZg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35222,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeFXF+CRA9TVsSAnZWagAAXOYP/i5DPdZw82/JU9oXa0D8\nNLdVvgUQvwdx5n+ZuJZYFxTih/nmULEwC5G6Y7MC4UMo5Jf6idAFAMFufo+u\n1wFIlRuUPjiNsqaKJNce8znDCE8XO5tNqGmpn/SldoPBo2HzvMTXFYz2gQN2\n7MLEa1IZUiRVsIwHxwyV9wzxZeLDNInxzTpTzduD+J7DUqX8lK9phX3S/4Pt\nYwLef0ks5ptGNLMD4prZExH+KF1mJSxYzqta+mgiKYEnOXU14XStpHkoop3g\ngpMjKg9Z+9ISzTKbe757AIx8HClP9aBM3d3wSdy6ODv5QEsg6fZlr36B7ff6\n5vZe+G/E76aCpSXrB0GorTEFT8NFtWfVay7hQmjeLCM/d5E2YCfC1XffY/gO\nX2meohZwIpCb4Sepz3hhuoUCR/l8c4sV/KfWOIAhnUjHrZpOBBxgMWWRaScb\nvClg7AezqIyoxpZJNvu5i3PyRNJJRlrAN8ypxZbMKecgUwGz3wtMjXWUBbqS\nYtmYu45qgsqXlTBPO16MsZcjamEc25xNNOklRRtULologuGkOlgZBaen14dn\nvV0AMaJzPVRBYrkhU7xIBV3woMzRsGYabK9knzGS7OLKLxMTGNd5/eiEyZZP\nPLla6dzvSn8vyqJtV2cpbCwFW2PTTxDmlhI45vl/zkOgRFFceMausxoOlBc0\nqg79\r\n=Gz5A\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/src/"],"preset":"ts-jest"},"main":"build/results.js","types":"build/results.d.ts","engines":{"node":">=8"},"scripts":{"test":"jest","clean":"rm -rf build coverage","prepare":"tsc","prepublish":"rm -rf build coverage"},"_npmUser":{"name":"ide","email":"ide+npm@jameside.com"},"_npmVersion":"6.12.1","description":"An efficient, standards-compliant library for representing results of successful or failed operations","directories":{},"_nodeVersion":"12.13.1","_hasShrinkwrap":false,"devDependencies":{"jest":"^24.9.0","ts-jest":"~24.2.0","typescript":"^3.7.3","@types/jest":"^24.0.24"},"_npmOperationalInternal":{"tmp":"tmp/results_0.2.0_1578463613685_0.3989079150476007","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"@expo/results","version":"0.3.0","keywords":["result","fulfilled","rejected","allsettled"],"author":{"name":"Expo"},"license":"MIT","_id":"@expo/results@0.3.0","maintainers":[{"name":"bbarthec","email":"bartlomiejbukowski.b@gmail.com"},{"name":"brentvatne","email":"brentvatne@gmail.com"},{"name":"ccheever","email":"ccheever@gmail.com"},{"name":"charliecruzan","email":"charliecruzan@gmail.com"},{"name":"dsokal","email":"dominiksokal@gmail.com"},{"name":"esamelson","email":"eric@expo.io"},{"name":"evanbacon","email":"baconbrix@gmail.com"},{"name":"expoadmin","email":"support@expo.io"},{"name":"exponent","email":"exponent.team@gmail.com"},{"name":"fson","email":"ville.immonen@iki.fi"},{"name":"ide","email":"ide+npm@jameside.com"},{"name":"mczernek","email":"czernekmichal@gmail.com"},{"name":"quinlanj","email":"quinlanjung@gmail.com"},{"name":"sjchmiela","email":"sjchmiela@gmail.com"},{"name":"tcdavis","email":"tc@expo.io"},{"name":"tsapeta","email":"sapeta.tomasz@gmail.com"},{"name":"wkozyra","email":"wojciech.kozyra@swmansion.com"},{"name":"wschurman","email":"wschurman@gmail.com"}],"dist":{"shasum":"8b4dea332737ff7984d01954dda75a185169ac99","tarball":"https://registry.npmjs.org/@expo/results/-/results-0.3.0.tgz","fileCount":12,"integrity":"sha512-vSLjCqyjFRaBOLgeyY5qUZNkRZ9mve60664ZhFUc5//YctvhS0ILvxsOXxVLgNtHYb7eNYEoP/QHwE5tlqKYGg==","signatures":[{"sig":"MEQCIHJh22LQDV79Qes1rhHrj6NMuKcFqHxRvzXDSU603ipHAiAUijfxZ17UTaB0kzpqp3LJUZF1kdKdCb2YyK9XM3p/fg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35417,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeKghmCRA9TVsSAnZWagAArIoP/2/hdOLR7nywJq37hgNs\nOTc90LIu8yZNX14ULWZwwutN9IGPC6q3JvsjFJMrEF+s1eWQWApirKQXdOcm\nNL6k9qJHRjTfsA+wJqrlx9wnB8uAy1ZLbFbW5l4uI2J4xuwVQnH+NNPvWXi/\n2hnzaF7/RU3kpXs0H67sprbwasgb1fowuYCgu0i9/tkXxPRVN2Auc8uoAGqh\n6IRYypvetG1SSEu9g2SmBdd5YnqOYbNZEu1ewaW8Akc6VjosBlQogFAXP5xj\nhblP9Z4u9T6idFfZ/DEyWzi2b7oiBjoOql7+r8mwCjl2pvrDPSAEPEgbSDVw\n4wiSzm7V7q583pa8ASYHWWGHDtVYYbKGFGhZPd4WNxTysMhEsf64lpFya0/4\n9F71tIGYPJ8VDl6yKzjIimR3wHO+NF578RL6CgTwAwixjlLPdPXxqWf1hLWP\nB+uSBPQ4it3XJjBvVD2OLF4dydq/QLSCJgVFp6qbVD/BnLjbnafnWRer9aHu\nFv+r6ifE0sQcOYfmUOJlm5/oYGbV6UK12EBwb2foRdHfutUeoQiDIAPCL77N\nzGPrkaQ7f2pl3Bj68lExrWJq6g8N1wGfvU9FgsTEGNTro1VBTmHQHn3FpEtr\n7TXnlE/Fj+CezPfUn3NfAjeCI6y2ysULRZPO2/Y/qcE+hyNsShSXmRQT7AQE\n/qSE\r\n=Sayf\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/src/"],"preset":"ts-jest"},"main":"build/results.js","types":"build/results.d.ts","engines":{"node":">=8"},"scripts":{"test":"jest","clean":"rm -rf build coverage","prepare":"tsc","prepublish":"rm -rf build coverage"},"_npmUser":{"name":"wschurman","email":"wschurman@gmail.com"},"_npmVersion":"6.12.1","description":"An efficient, standards-compliant library for representing results of successful or failed operations","directories":{},"_nodeVersion":"12.13.1","_hasShrinkwrap":false,"devDependencies":{"jest":"^24.9.0","ts-jest":"~24.2.0","typescript":"^3.7.3","@types/jest":"^24.0.24"},"_npmOperationalInternal":{"tmp":"tmp/results_0.3.0_1579812966340_0.4700087365229093","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@expo/results","version":"1.0.0","keywords":["result","fulfilled","rejected","allsettled"],"author":{"name":"Expo"},"license":"MIT","_id":"@expo/results@1.0.0","maintainers":[{"name":"bbarthec","email":"bartlomiejbukowski.b@gmail.com"},{"name":"brentvatne","email":"brentvatne@gmail.com"},{"name":"ccheever","email":"ccheever@gmail.com"},{"name":"charliecruzan","email":"charliecruzan@gmail.com"},{"name":"dsokal","email":"dominiksokal@gmail.com"},{"name":"esamelson","email":"eric@expo.io"},{"name":"evanbacon","email":"baconbrix@gmail.com"},{"name":"expoadmin","email":"support@expo.io"},{"name":"exponent","email":"exponent.team@gmail.com"},{"name":"fson","email":"ville.immonen@iki.fi"},{"name":"ide","email":"ide+npm@jameside.com"},{"name":"ijzerenhein","email":"hrutjes@gmail.com"},{"name":"jkhales","email":"jonathan@expo.io"},{"name":"mczernek","email":"czernekmichal@gmail.com"},{"name":"quinlanj","email":"quinlanjung@gmail.com"},{"name":"sjchmiela","email":"sjchmiela@gmail.com"},{"name":"tcdavis","email":"tc@expo.io"},{"name":"tsapeta","email":"sapeta.tomasz@gmail.com"},{"name":"wkozyra","email":"wojciech.kozyra@swmansion.com"},{"name":"wschurman","email":"wschurman@gmail.com"}],"homepage":"https://github.com/expo/results#readme","bugs":{"url":"https://github.com/expo/results/issues"},"dist":{"shasum":"fd4b22f936ceafce23b04799f54b87fe2a9e18d1","tarball":"https://registry.npmjs.org/@expo/results/-/results-1.0.0.tgz","fileCount":7,"integrity":"sha512-qECzzXX5oJot3m2Gu9pfRDz50USdBieQVwYAzeAtQRUTD3PVeTK1tlRUoDcrK8PSruDLuVYdKkLebX4w/o55VA==","signatures":[{"sig":"MEQCIHG0USEFRfrSgHjZlEyIbtFHi4EbYmJRh9ZEMJejZWC1AiAGk17IdkwY3/F+gbU9nr1lELDwb6OQrLyLeS5VmgzrLQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16680,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2GhiCRA9TVsSAnZWagAAg+EP/iWJQef52neokjfa963h\nQ248YIAWX5THdtkcrTf03KZsQB/ctqsIqzqGhQnJ27dF4y2F4EyLWGatkhN6\nV3yvak7KHj9xQ39C0MgkW6yXh1cSs5eShvJXCyPBiTyPR2mEzjUtl67mll63\nxspAd4ULjeb+x5FVHzZNA8mnjOjoyddrtPLbAgQhWY3x06VlYXTunBI7cfPu\nS1xAt+Z2rfUd+isieILdHA4tlhBX4qINvrU7fJg0ahuLzq/vNeVqGiyrFujO\nNAo7ImouUvVv+5WkH6FvTY86uusg/MRwujl1rBetStXjT99euRHrBn1EG/4r\n6rypRE+0QE0nCm1WcPZgo2nQnyYolbgLDTh6XKEwPy2eCcnw6S8wd5pPm8z7\nlxlCViDLh3LMkebSCcjyLpBTU6O9HPpQdMpLgEjB8f8eqnwZ8lRgFehxssYK\nSHC1ksDbViZOEQ+7UEiqmG8JlPjTE8QkuadYp6jrO3szEG/P4vrjSCwSCg7D\nWBia1PAkr2BARAf+bBal5jLYZHaYL3quCGL0DydyMHgMx33LjX6hpv5qr89u\ntBjHDJo3Vv7B0TKm0n+Hc3S/K7T+tk2+3391475nA+nSJarRw4ZH5NZr11eG\nMxRxajETBK9Kmv6JheXtALvTAL3ZeaUG2Qs2JBoGVktkxJKBo962V+dWGer0\ngsMx\r\n=rXC7\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/src/"],"preset":"ts-jest","testEnvironment":"node","coverageProvider":"babel","coverageDirectory":"<rootDir>/coverage"},"main":"build/results.js","types":"build/results.d.ts","engines":{"node":">=10"},"gitHead":"159f5140bd48eb26556c90e2d6455849d874f87e","scripts":{"lint":"eslint --ext '.ts' src","test":"jest","clean":"rm -rf build coverage","prepare":"tsc","prettier":"prettier --write 'src/**/*.ts'","prepublish":"rm -rf build coverage"},"_npmUser":{"name":"ide","email":"ide+npm@jameside.com"},"prettier":{"printWidth":100,"singleQuote":true},"repository":{"url":"git+https://github.com/expo/results.git","type":"git"},"_npmVersion":"6.14.4","description":"An efficient, standards-compliant library for representing results of successful or failed operations","directories":{},"_nodeVersion":"14.0.0","eslintConfig":{"extends":"universe/node","settings":{"react":{"version":"999.999.999"}}},"_hasShrinkwrap":false,"devDependencies":{"jest":"^25.5.1","eslint":"^6.8.0","ts-jest":"~25.4.0","prettier":"^2.0.5","typescript":"^3.8.3","@types/jest":"^25.2.1","eslint-config-universe":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/results_1.0.0_1588202816599_0.2513348417815571","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-12-21T01:01:28.127Z","modified":"2026-09-23T11:26:58.838Z","0.1.0":"2019-12-21T01:01:28.502Z","0.1.1":"2019-12-30T20:33:53.453Z","0.2.0":"2020-01-08T06:06:53.820Z","0.3.0":"2020-01-23T20:56:06.494Z","1.0.0":"2020-04-29T23:26:56.932Z"},"bugs":{"url":"https://github.com/expo/results/issues"},"author":{"name":"Expo"},"license":"MIT","homepage":"https://github.com/expo/results#readme","keywords":["result","fulfilled","rejected","allsettled"],"repository":{"url":"git+https://github.com/expo/results.git","type":"git"},"description":"An efficient, standards-compliant library for representing results of successful or failed operations","maintainers":[{"email":"ide+npm@jameside.com","name":"ide"},{"email":"brentvatne@gmail.com","name":"brentvatne"},{"email":"support@expo.io","name":"expoadmin"},{"email":"exponent.team@gmail.com","name":"exponent"},{"email":"me@bycedric.com","name":"bycedric"},{"email":"ckchien@gmail.com","name":"kudochien"},{"email":"hughesno1@gmail.com","name":"alanhughes"},{"email":"npm@tsapeta.com","name":"tsapeta"},{"email":"brent+expobotnpm@expo.io","name":"expo-bot"},{"email":"phil@kitten.sh","name":"philpl"},{"email":"ccheever@gmail.com","name":"ccheever"},{"email":"sz.dziedz@gmail.com","name":"szdziedzic"},{"email":"wschurman@gmail.com","name":"wschurman"}],"readme":"# @expo/results\n[![Tests](https://github.com/expo/results/workflows/Tests/badge.svg)](https://github.com/expo/results/actions?query=branch%3Amaster)\n[![codecov](https://codecov.io/gh/expo/results/branch/master/graph/badge.svg)](https://codecov.io/gh/expo/results)\n\nAn efficient, standards-compliant library for representing results of successful or failed operations. A result object represents the result of an operation that can either return a value successfully or fail. Typically we'd simply either return a value or throw an error, but sometimes we perform multiple operations as a batch, some of which may succeed and others fail. Since we can't simultaneously return values and throw errors, we instead return collections of result objects. This allows a batch operation to return values for successful operations and errors for failed ones without loss of information, namely the errors. (In contrast, sometimes it is appropriate for a batch operation to return just successful values and omit values for failed operations.)\n\n# Usage\n\n## Using Results\n\n```ts\nimport { Result, result } from '@expo/results';\n\nconst results = await fetchWebPages(['https://expo.dev', 'http://example.com']);\nfor (const result of results) {\n  if (result.ok) {\n    console.log(result.value);\n  } else {\n    console.error(result.reason);\n  }\n}\n```\n\n## Creating Results\n\n```ts\nimport { Result, result } from '@expo/results';\n\n/**\n * The purpose of this result API is to let you write functions that can\n * partially succeed and partially fail and return all of that information to\n * the caller.\n */\nfunction fetchWebPages(urls: string[]): Promise<Result<string>[]> {\n  return Promise.all(urls.map(fetchWebPage));\n}\n\nfunction fetchWebPage(url: string): Promise<Result<string>> {\n  try {\n    const response = await fetch(url);\n    const text = await response.text();\n    return result(text);\n  } catch (e) {\n    return result(e);\n  }\n}\n```\n","readmeFilename":"README.md"}