{"name":"try-to-tape","version":"1.2.5","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"wrap tape async functions and show error on reject","homepage":"http://github.com/coderaiser/try-to-tape","main":"lib/try-to-tape.js","repository":{"type":"git","url":"git://github.com/coderaiser/try-to-tape.git"},"scripts":{"test":"madrun test","watch:test":"madrun watch:test","lint":"madrun lint","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{"currify":"^4.0.0","try-to-catch":"^2.0.0"},"keywords":["try","catch","function","promise","async","await","try-catch","then","tap","tape"],"devDependencies":{"@cloudcmd/stub":"^2.0.0","coveralls":"^3.0.0","eslint":"^6.4.0","eslint-plugin-node":"^10.0.0","eslint-plugin-putout":"^2.0.0","madrun":"^3.0.5","nodemon":"^1.14.12","nyc":"^14.1.1","putout":"^6.1.0","tape":"^4.11.0","try-catch":"^2.0.0"},"license":"MIT","engines":{"node":">=8.3.0"},"publishConfig":{"access":"public"},"gitHead":"0a079b3439ebbfaf7aff20a182777359f0875957","bugs":{"url":"https://github.com/coderaiser/try-to-tape/issues"},"_id":"try-to-tape@1.2.5","_nodeVersion":"12.12.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-0CV/UIyoYkdUcI3PWJHKeBn37EEO0v1Sdmc9pWK+JJo+55HGW4fWM5FiSLFzO4gZa75g0h926tXx2zE2KB2+kQ==","shasum":"f38441e3a85ce1afd661d242e16fb554e82cb4cc","tarball":"http://registry-npm.ywwl.com/try-to-tape/download/try-to-tape-1.2.5.tgz","fileCount":5,"unpackedSize":5207,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdp3CPCRA9TVsSAnZWagAAeScP/3WnLAag/700Ybn6sl+m\niUWeBl9GgcPCJ1djoyAE+c1/hoL7q7XxU9gP04wDEuq86RdxUFr+dV0lWMyC\n+b3jYeZ6r6zg+w65xpEaYWq8viOksAF4iez3WTHtdYQ8mY/k9aztIvVmb2vB\nGwWFeGr25RNFQEP0HpE308b0D3P01Ltd/tee9i0N+X0ltAiiqJRCyRlA7vuz\nvdp0RLzKfns1wZbJWhVSSU93UdARyO9JtAVP6sDd9n5acfOv5heiwlYLq87R\nPVWvcPh48SICVc/ngfld9kqXhTJpXQaJN24E2WFkYypwUv3JFx3VXolKGUoE\no1LZ4pTas/eoDwCjc02Ldo3nFTMFhxp6WTj4pgOdjEAF2KAblRiaA/0/5uUN\n/LK+cmxtW2PfBts+9XbpNf9A2vE4cnq22cotr/SibrzuWfUbGRMoIypXPOFh\ntvy8+I1Qp3AVGJpqbsgVTeovD18npGWgrvZP2iPTHxuKWZNsluatg1q05Ev9\n3KQbv9bPoHHgRWDqzvXSnX5kif7jZuWEhx+1Xp9w8fCNY5USF0S7v8/C7uRF\nIv5bHInk0MxUyiwdSOe+oG2ihbceMJF+eZWFD0gRoO98/o9io5/WWw9uzTUc\nG3UsdyZ1jKLiZZFhk+/RoHkdbpnWvKnXu6zZkuhumCbdmf4IGShxxc79J/MY\nMG9+\r\n=0thu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDcMKARDExAFmBYNG54XZIbeGVvMR8Nj5m2bM4psCg6cAIhAI0p/vsxSi0plX09O//2JcvuqU4VEWMDRgFzlRVB6kDK"}],"size":2356,"noattachment":false,"key":"/try-to-tape/-/try-to-tape-1.2.5.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-to-tape_1.2.5_1571254414445_0.359693745753632"},"_hasShrinkwrap":false,"readme":"# Try to Tape [![NPM version][NPMIMGURL]][NPMURL] [![Dependency Status][DependencyStatusIMGURL]][DependencyStatusURL] [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Coverage Status][CoverageIMGURL]][CoverageURL]\n\n[NPMIMGURL]:                https://img.shields.io/npm/v/try-to-tape.svg?style=flat&longCache=true\n[BuildStatusIMGURL]:        https://img.shields.io/travis/coderaiser/try-to-tape/master.svg?style=flat&longCache=true\n[DependencyStatusIMGURL]:   https://img.shields.io/david/coderaiser/try-to-tape.svg?style=flat&longCache=true\n[NPMURL]:                   https://npmjs.org/package/try-to-tape \"npm\"\n[BuildStatusURL]:           https://travis-ci.org/coderaiser/try-to-tape  \"Build Status\"\n[DependencyStatusURL]:      https://david-dm.org/coderaiser/try-to-tape \"Dependency Status\"\n\n[CoverageURL]:              https://coveralls.io/github/coderaiser/try-to-tape?branch=master\n[CoverageIMGURL]:           https://coveralls.io/repos/coderaiser/try-to-tape/badge.svg?branch=master&service=github\n\nWrap `tape` `async` functions and show error on reject.\n\n## Install\n\n```\nnpm i try-to-tape\n```\n\n## Example\n\n```js\nconst tryToTape = require('try-to-tape');\nconst tape = tryToTape(require('tape'));\n\ntest('lib: arguments', async (t) => {\n    throw Error('hello');\n    // will call t.fail with an error\n    // will call t.end\n    \n    t.end();\n});\n```\n\n## Related\n\n- [try-catch](https://github.com/coderaiser/try-catch \"TryCatch\") - functional try-catch wrapper.\n- [try-to-catch](https://github.com/coderaiser/try-to-catch \"TryToCatch\") - functional try-catch wrapper for promises.\n\n## License\n\nMIT\n\n","publish_time":1571254414586,"_cnpm_publish_time":1571254414586,"dist-tags":{"latest":"1.2.6"}}