{"_id":"try-catch","_rev":"4132469","name":"try-catch","description":"functional try-catch wrapper","dist-tags":{"latest":"4.0.9"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"time":{"modified":"2026-03-01T18:38:43.000Z","created":"2014-12-19T15:13:37.449Z","4.0.9":"2026-01-28T17:10:27.346Z","4.0.8":"2026-01-28T17:09:56.253Z","4.0.7":"2026-01-04T20:38:27.717Z","4.0.6":"2025-12-31T12:01:51.025Z","4.0.5":"2025-12-31T11:53:10.458Z","4.0.4":"2025-12-30T22:28:17.382Z","4.0.3":"2025-12-30T22:16:44.029Z","4.0.2":"2025-12-30T21:41:30.263Z","4.0.1":"2025-12-30T21:33:00.394Z","4.0.0":"2025-12-30T21:27:28.747Z","3.0.1":"2022-03-07T12:19:00.478Z","3.0.0":"2020-02-24T14:40:54.491Z","2.0.1":"2019-09-12T13:52:14.795Z","2.0.0":"2018-02-08T15:30:37.112Z","1.0.0":"2014-12-19T15:13:37.449Z"},"users":{},"author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"repository":{"type":"git","url":"git+https://github.com/coderaiser/try-catch.git"},"versions":{"4.0.9":{"name":"try-catch","version":"4.0.9","type":"module","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"functional try-catch wrapper","homepage":"http://github.com/coderaiser/try-catch","repository":{"type":"git","url":"git+https://github.com/coderaiser/try-catch.git"},"main":"./lib/try-catch.js","exports":{".":"./lib/try-catch.js"},"scripts":{"test":"madrun test","lint":"madrun lint","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"devDependencies":{"c8":"^10.1.3","eslint":"^9.39.2","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^29.2.0","madrun":"^11.0.4","putout":"^41.2.0","supertape":"^11.5.0"},"license":"MIT","engines":{"node":">=22"},"_id":"try-catch@4.0.9","gitHead":"1bf9a0bd85c726ccd3f6ffff6a5901b472efc443","bugs":{"url":"https://github.com/coderaiser/try-catch/issues"},"_nodeVersion":"25.3.0","_npmVersion":"11.4.2","dist":{"shasum":"9a56e242788c73ec4ee1befa2edfd891c1f50b04","size":2411,"noattachment":false,"key":"/try-catch/-/try-catch-4.0.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/try-catch/download/try-catch-4.0.9.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/try-catch_4.0.9_1769620227200_0.21738768777744855"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-01-28T17:10:27.346Z","publish_time":1769620227346,"_source_registry_name":"default","_cnpm_publish_time":1769620227346},"4.0.8":{"name":"try-catch","version":"4.0.8","type":"module","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"functional try-catch wrapper","homepage":"http://github.com/coderaiser/try-catch","repository":{"type":"git","url":"git+https://github.com/coderaiser/try-catch.git"},"main":"./lib/try-catch.js","exports":{".":"./lib/try-catch.js"},"scripts":{"test":"madrun test","lint":"madrun lint","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"devDependencies":{"c8":"^10.1.3","eslint":"^9.39.2","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^29.2.0","madrun":"^11.0.4","putout":"^41.2.0","supertape":"^11.5.0"},"license":"MIT","engines":{"node":">=22"},"_id":"try-catch@4.0.8","gitHead":"ef540a2c105d7416717adc2d78e3e26b82951527","bugs":{"url":"https://github.com/coderaiser/try-catch/issues"},"_nodeVersion":"25.3.0","_npmVersion":"11.4.2","dist":{"shasum":"5a36c648b848e93152c5a519cf3f63d7f2390be1","size":2403,"noattachment":false,"key":"/try-catch/-/try-catch-4.0.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/try-catch/download/try-catch-4.0.8.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/try-catch_4.0.8_1769620196087_0.17740742594236858"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-01-28T17:09:56.253Z","publish_time":1769620196253,"_source_registry_name":"default","_cnpm_publish_time":1769620196253},"4.0.7":{"name":"try-catch","version":"4.0.7","type":"module","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"functional try-catch wrapper","homepage":"http://github.com/coderaiser/try-catch","repository":{"type":"git","url":"git+https://github.com/coderaiser/try-catch.git"},"main":"lib/try-catch.cjs","exports":{".":{"require":"./lib/try-catch.cjs","import":"./lib/try-catch.js"}},"scripts":{"test":"madrun test","lint":"madrun lint","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"devDependencies":{"c8":"^10.1.3","eslint":"^9.39.2","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^29.2.0","madrun":"^11.0.4","putout":"^41.2.0","supertape":"^11.5.0"},"license":"MIT","engines":{"node":">=22"},"_id":"try-catch@4.0.7","gitHead":"5593850b8a9bf22cb044d98c34eed0a882fc80c0","bugs":{"url":"https://github.com/coderaiser/try-catch/issues"},"_nodeVersion":"25.2.1","_npmVersion":"11.4.2","dist":{"shasum":"e43b8f9931c33c73cd0e21b2829fa80fe67e1dc0","size":2467,"noattachment":false,"key":"/try-catch/-/try-catch-4.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/try-catch/download/try-catch-4.0.7.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/try-catch_4.0.7_1767559107558_0.8999205482142045"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-01-04T20:38:27.717Z","publish_time":1767559107717,"_source_registry_name":"default","_cnpm_publish_time":1767559107717},"4.0.6":{"name":"try-catch","version":"4.0.6","type":"module","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"functional try-catch wrapper","homepage":"http://github.com/coderaiser/try-catch","repository":{"type":"git","url":"git+https://github.com/coderaiser/try-catch.git"},"main":"lib/try-catch.cjs","exports":{".":{"node":{"require":"./lib/try-catch.cjs","import":"./lib/try-catch.js"},"default":"./lib/try-catch.cjs"}},"scripts":{"test":"madrun test","lint":"madrun lint","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"devDependencies":{"c8":"^10.1.3","eslint":"^9.39.2","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^29.2.0","madrun":"^11.0.4","putout":"^41.2.0","supertape":"^11.5.0"},"license":"MIT","engines":{"node":">=22"},"_id":"try-catch@4.0.6","gitHead":"e0adb16e5fad7775af69ca29423d21fc41290027","bugs":{"url":"https://github.com/coderaiser/try-catch/issues"},"_nodeVersion":"22.21.1","_npmVersion":"11.4.2","dist":{"shasum":"5f46df9a1721cf0408e4ca095ac144207e90fb45","size":2463,"noattachment":false,"key":"/try-catch/-/try-catch-4.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/try-catch/download/try-catch-4.0.6.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/try-catch_4.0.6_1767182510830_0.8428948664235838"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-12-31T12:01:51.025Z","publish_time":1767182511025,"_source_registry_name":"default","_cnpm_publish_time":1767182511025},"4.0.5":{"name":"try-catch","version":"4.0.5","type":"module","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"functional try-catch wrapper","homepage":"http://github.com/coderaiser/try-catch","repository":{"type":"git","url":"git+https://github.com/coderaiser/try-catch.git"},"main":"lib/try-catch.cjs","exports":{".":{"node":{"require":"./lib/try-catch.cjs","import":"./lib/try-catch.js"},"default":"./lib/try-catch.cjs"}},"scripts":{"test":"madrun test","lint":"madrun lint","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"devDependencies":{"c8":"^10.1.3","eslint":"^9.39.2","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^29.2.0","madrun":"^11.0.4","putout":"^41.2.0","supertape":"^11.5.0"},"license":"MIT","engines":{"node":">=20"},"_id":"try-catch@4.0.5","gitHead":"3bd935a05a0ae88c577b44f7380d2614f83792c9","bugs":{"url":"https://github.com/coderaiser/try-catch/issues"},"_nodeVersion":"22.21.1","_npmVersion":"11.4.2","dist":{"shasum":"994ff4275b58708785e38476421c8c1fa7e22c39","size":2432,"noattachment":false,"key":"/try-catch/-/try-catch-4.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/try-catch/download/try-catch-4.0.5.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/try-catch_4.0.5_1767181990316_0.634694350232889"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-12-31T11:53:10.458Z","publish_time":1767181990458,"_source_registry_name":"default","_cnpm_publish_time":1767181990458},"4.0.4":{"name":"try-catch","version":"4.0.4","type":"module","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"functional try-catch wrapper","homepage":"http://github.com/coderaiser/try-catch","repository":{"type":"git","url":"git+https://github.com/coderaiser/try-catch.git"},"main":"lib/try-catch.cjs","exports":{".":{"node":{"require":"./lib/try-catch.cjs","import":"./lib/try-catch.js"},"default":"./lib/try-catch.cjs"}},"scripts":{"test":"madrun test","lint":"madrun lint","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"devDependencies":{"c8":"^10.1.3","eslint":"^9.39.2","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^29.2.0","madrun":"^11.0.4","putout":"^41.2.0","supertape":"^11.5.0"},"license":"MIT","engines":{"node":">=20"},"_id":"try-catch@4.0.4","gitHead":"734c69ebf05310f9cff3904c4bb85fb67d4ad8d8","bugs":{"url":"https://github.com/coderaiser/try-catch/issues"},"_nodeVersion":"25.2.1","_npmVersion":"11.4.2","dist":{"shasum":"c631b67cf94ffa3dec12f3576d3dde65e2617fb9","size":77132,"noattachment":false,"key":"/try-catch/-/try-catch-4.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/try-catch/download/try-catch-4.0.4.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/try-catch_4.0.4_1767133697253_0.8708779638194604"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-12-30T22:28:17.382Z","publish_time":1767133697382,"_source_registry_name":"default","_cnpm_publish_time":1767133697382},"4.0.3":{"name":"try-catch","version":"4.0.3","type":"module","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"functional try-catch wrapper","homepage":"http://github.com/coderaiser/try-catch","repository":{"type":"git","url":"git+https://github.com/coderaiser/try-catch.git"},"main":"lib/try-catch.js","exports":{".":{"node":{"require":"./lib/try-catch.cjs","import":"./lib/try-catch.js"},"default":"./lib/try-catch.js"}},"scripts":{"test":"madrun test","lint":"madrun lint","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"devDependencies":{"c8":"^10.1.3","eslint":"^9.39.2","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^29.2.0","madrun":"^11.0.4","putout":"^41.2.0","supertape":"^11.5.0"},"license":"MIT","engines":{"node":">=20"},"_id":"try-catch@4.0.3","gitHead":"6e5e64d68706068331475b604768c903eef533bd","bugs":{"url":"https://github.com/coderaiser/try-catch/issues"},"_nodeVersion":"25.2.1","_npmVersion":"11.4.2","dist":{"shasum":"28badcdd77acdf857e64fe1bd48403ab55bbfaaf","size":2386,"noattachment":false,"key":"/try-catch/-/try-catch-4.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/try-catch/download/try-catch-4.0.3.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/try-catch_4.0.3_1767133003873_0.1465062232684231"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-12-30T22:16:44.029Z","publish_time":1767133004029,"_source_registry_name":"default","_cnpm_publish_time":1767133004029},"4.0.2":{"name":"try-catch","version":"4.0.2","type":"module","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"functional try-catch wrapper","homepage":"http://github.com/coderaiser/try-catch","repository":{"type":"git","url":"git+https://github.com/coderaiser/try-catch.git"},"main":"lib/try-catch.js","exports":{".":{"node":{"require":"./lib/try-catch.cjs","import":"./lib/try-catch.js"},"default":"./lib/try-catch.js"}},"scripts":{"test":"madrun test","lint":"madrun lint","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"devDependencies":{"c8":"^10.1.3","eslint":"^9.39.2","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^29.2.0","madrun":"^11.0.4","putout":"^41.2.0","supertape":"^11.5.0"},"license":"MIT","engines":{"node":">=20"},"_id":"try-catch@4.0.2","gitHead":"1019e1fe6cd768f534d82c4f983ac15365f7e13c","bugs":{"url":"https://github.com/coderaiser/try-catch/issues"},"_nodeVersion":"25.2.1","_npmVersion":"11.4.2","dist":{"shasum":"c97459ba5b2d2c4aced4266ef1fd465211b3edc1","size":81739,"noattachment":false,"key":"/try-catch/-/try-catch-4.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/try-catch/download/try-catch-4.0.2.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/try-catch_4.0.2_1767130890099_0.6095510029886757"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-12-30T21:41:30.263Z","publish_time":1767130890263,"_source_registry_name":"default","_cnpm_publish_time":1767130890263},"4.0.1":{"name":"try-catch","version":"4.0.1","type":"module","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"functional try-catch wrapper","homepage":"http://github.com/coderaiser/try-catch","repository":{"type":"git","url":"git+https://github.com/coderaiser/try-catch.git"},"main":"lib/try-catch.js","exports":{".":{"node":{"require":"./lib/try-catch.cjs","import":"./lib/try-catch.js"}}},"scripts":{"test":"madrun test","lint":"madrun lint","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"devDependencies":{"c8":"^10.1.3","eslint":"^9.39.2","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^29.2.0","madrun":"^11.0.4","putout":"^41.2.0","supertape":"^11.5.0"},"license":"MIT","engines":{"node":">=20"},"_id":"try-catch@4.0.1","gitHead":"d23b3830dd8217d2dd1af4629cb08a3dc08c44ab","bugs":{"url":"https://github.com/coderaiser/try-catch/issues"},"_nodeVersion":"25.2.1","_npmVersion":"11.4.2","dist":{"shasum":"988ad140e94419e35329af595fdf898d9b232ce2","size":81715,"noattachment":false,"key":"/try-catch/-/try-catch-4.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/try-catch/download/try-catch-4.0.1.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/try-catch_4.0.1_1767130380167_0.7918891836784661"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-12-30T21:33:00.394Z","publish_time":1767130380394,"_source_registry_name":"default","_cnpm_publish_time":1767130380394},"4.0.0":{"name":"try-catch","version":"4.0.0","type":"module","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"functional try-catch wrapper","homepage":"http://github.com/coderaiser/try-catch","repository":{"type":"git","url":"git+https://github.com/coderaiser/try-catch.git"},"exports":{".":{"node":{"require":"./lib/try-catch.cjs","import":"./lib/try-catch.js"}}},"scripts":{"test":"madrun test","lint":"madrun lint","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"devDependencies":{"c8":"^10.1.3","eslint":"^9.39.2","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^29.2.0","madrun":"^11.0.4","putout":"^41.2.0","supertape":"^11.5.0"},"license":"MIT","engines":{"node":">=20"},"_id":"try-catch@4.0.0","gitHead":"0d3a35220e58c7645c5ecd9c6e6e919c2160fbee","bugs":{"url":"https://github.com/coderaiser/try-catch/issues"},"_nodeVersion":"25.2.1","_npmVersion":"11.4.2","dist":{"shasum":"ec79b86620099b12aec22bacce615e6481cd3e11","size":2320,"noattachment":false,"key":"/try-catch/-/try-catch-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/try-catch/download/try-catch-4.0.0.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/try-catch_4.0.0_1767130048616_0.6624780020315504"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-12-30T21:27:28.747Z","publish_time":1767130048747,"_source_registry_name":"default","_cnpm_publish_time":1767130048747},"3.0.1":{"name":"try-catch","version":"3.0.1","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"functional try-catch wrapper","homepage":"http://github.com/coderaiser/try-catch","repository":{"type":"git","url":"git://github.com/coderaiser/try-catch.git"},"scripts":{"test":"madrun test","lint":"madrun lint","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"devDependencies":{"c8":"^7.11.0","eslint":"^8.10.0","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^14.4.0","madrun":"^9.0.0","putout":"^25.2.0","supertape":"^7.2.0"},"license":"MIT","engines":{"node":">=6"},"main":"lib/try-catch.js","gitHead":"3cb82187bc7b6ff9214e81040552486500c3f24c","bugs":{"url":"https://github.com/coderaiser/try-catch/issues"},"_id":"try-catch@3.0.1","_nodeVersion":"16.14.0","_npmVersion":"8.3.0","dist":{"shasum":"93abdca71ce148a08adb49e08dbd491cd485164d","size":2048,"noattachment":false,"key":"/try-catch/-/try-catch-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/try-catch/download/try-catch-3.0.1.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/try-catch_3.0.1_1646655540300_0.8749291290480963"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-03-07T12:19:16.713Z","publish_time":1646655540478,"_cnpm_publish_time":1646655540478},"3.0.0":{"name":"try-catch","version":"3.0.0","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"functional try-catch wrapper","homepage":"http://github.com/coderaiser/try-catch","repository":{"type":"git","url":"git://github.com/coderaiser/try-catch.git"},"scripts":{"test":"madrun test","lint":"madrun lint","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"devDependencies":{"coveralls":"^3.0.0","eslint":"^6.3.0","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^3.2.1","madrun":"^5.4.2","nyc":"^15.0.0","putout":"^7.13.1","supertape":"^1.2.3"},"license":"MIT","engines":{"node":">=6"},"main":"lib/try-catch.js","gitHead":"2fb5c17eb0446b778677b323f5bc56095e8e8691","bugs":{"url":"https://github.com/coderaiser/try-catch/issues"},"_id":"try-catch@3.0.0","_nodeVersion":"13.9.0","_npmVersion":"6.12.1","dist":{"shasum":"7996d8b89895e2e8ae62cbdbeb4fe17470f8131b","size":2082,"noattachment":false,"key":"/try-catch/-/try-catch-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/try-catch/download/try-catch-3.0.0.tgz"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/try-catch_3.0.0_1582555254379_0.6392782768164051"},"_hasShrinkwrap":false,"publish_time":1582555254491,"_cnpm_publish_time":1582555254491,"_cnpmcore_publish_time":"2021-12-16T15:40:09.756Z"},"2.0.1":{"name":"try-catch","version":"2.0.1","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"functional try-catch wrapper","homepage":"http://github.com/coderaiser/try-catch","repository":{"type":"git","url":"git://github.com/coderaiser/try-catch.git"},"scripts":{"test":"madrun test","lint":"madrun lint","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"devDependencies":{"coveralls":"^3.0.0","eslint":"^6.3.0","eslint-plugin-node":"^10.0.0","eslint-plugin-putout":"^2.0.0","madrun":"^3.0.3","nyc":"^14.1.1","putout":"^5.27.0","supertape":"^1.2.3"},"license":"MIT","engines":{"node":">=0.4"},"main":"lib/try-catch.js","gitHead":"e0cf243501a5cefe482d590a65c40e1dbb9a12b9","bugs":{"url":"https://github.com/coderaiser/try-catch/issues"},"_id":"try-catch@2.0.1","_nodeVersion":"12.10.0","_npmVersion":"6.10.0","dist":{"shasum":"a35d354187c422f291a0bcfd9eb77e3a4f90c1e5","size":2049,"noattachment":false,"key":"/try-catch/-/try-catch-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/try-catch/download/try-catch-2.0.1.tgz"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/try-catch_2.0.1_1568296334602_0.628573535938149"},"_hasShrinkwrap":false,"publish_time":1568296334795,"_cnpm_publish_time":1568296334795,"_cnpmcore_publish_time":"2021-12-16T15:40:09.971Z"},"2.0.0":{"name":"try-catch","version":"2.0.0","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"try-catch wrapper","homepage":"http://github.com/coderaiser/try-catch","repository":{"type":"git","url":"git://github.com/coderaiser/try-catch.git"},"scripts":{"test":"tape 'test/*.js'","lint":"eslint lib test","coverage":"nyc npm test","report":"nyc report --reporter=text-lcov | coveralls"},"dependencies":{},"devDependencies":{"coveralls":"^3.0.0","eslint":"^4.17.0","nyc":"^11.4.1","tape":"^4.8.0"},"license":"MIT","engines":{"node":">=0.4"},"main":"lib/try-catch.js","gitHead":"f083e63116b98500018fba1d2fcb59eebe88076c","bugs":{"url":"https://github.com/coderaiser/try-catch/issues"},"_id":"try-catch@2.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"dist":{"shasum":"a491141d597f8b72b46757fe1c47059341a16aed","size":1579,"noattachment":false,"key":"/try-catch/-/try-catch-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/try-catch/download/try-catch-2.0.0.tgz"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/try-catch_2.0.0_1518103836478_0.5450532690612409"},"_hasShrinkwrap":false,"publish_time":1518103837112,"_cnpm_publish_time":1518103837112,"_cnpmcore_publish_time":"2021-12-16T15:40:10.156Z"},"1.0.0":{"name":"try-catch","version":"1.0.0","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"try-catch wrapper","homepage":"http://github.com/coderaiser/try-catch","repository":{"type":"git","url":"git://github.com/coderaiser/try-catch.git"},"dependencies":{},"devDependencies":{},"license":"MIT","engines":{"node":">=0.4"},"main":"lib/tryCatch.js","gitHead":"161c4232c45373c545ee3335599a7b2d3a73a9dd","bugs":{"url":"https://github.com/coderaiser/try-catch/issues"},"_id":"try-catch@1.0.0","scripts":{},"_shasum":"3797dab39a266775f4d0da5cbf42aca3f03608e6","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"dist":{"shasum":"3797dab39a266775f4d0da5cbf42aca3f03608e6","size":1474,"noattachment":false,"key":"/try-catch/-/try-catch-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/try-catch/download/try-catch-1.0.0.tgz"},"directories":{},"publish_time":1419002017449,"_hasShrinkwrap":false,"_cnpm_publish_time":1419002017449,"_cnpmcore_publish_time":"2021-12-16T15:40:10.402Z"}},"readme":"# Try Catch [![License][LicenseIMGURL]][LicenseURL] [![NPM version][NPMIMGURL]][NPMURL] [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Coverage Status][CoverageIMGURL]][CoverageURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/try-catch.svg?style=flat\n[NPMURL]: https://npmjs.org/package/try-catch \"npm\"\n[LicenseURL]: https://tldrlegal.com/license/mit-license \"MIT License\"\n[LicenseIMGURL]: https://img.shields.io/badge/license-MIT-317BF9.svg?style=flat\n[CoverageURL]: https://coveralls.io/github/coderaiser/try-catch?branch=master\n[CoverageIMGURL]: https://coveralls.io/repos/coderaiser/try-catch/badge.svg?branch=master&service=github\n[BuildStatusURL]: https://github.com/coderaiser/try-catch/actions?query=workflow%3A%22Node+CI%22 \"Build Status\"\n[BuildStatusIMGURL]: https://github.com/coderaiser/try-catch/workflows/Node%20CI/badge.svg\n\nFunctional `try-catch` wrapper\n\n## Install\n\n```\nnpm i try-catch\n```\n\n## Example\n\n```js\nimport {tryCatch} from 'try-catch';\n\nconst {parse} = JSON;\nconst [error, result] = tryCatch(parse, 'hello');\n\nif (error)\n    console.error(error.message);\n```\n\n## Related\n\n- [try-to-catch](https://github.com/coderaiser/try-to-catch \"TryToCatch\") - functional try-catch wrapper for promises.\n\n## License\n\nMIT\n","_attachments":{},"homepage":"http://github.com/coderaiser/try-catch","bugs":{"url":"https://github.com/coderaiser/try-catch/issues"},"license":"MIT"}