{"name":"try-to-tape","version":"1.2.4","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":"^1.0.2"},"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":"65af6bb6ecc5f5defe1225af8c0f8298d7398635","bugs":{"url":"https://github.com/coderaiser/try-to-tape/issues"},"_id":"try-to-tape@1.2.4","_nodeVersion":"12.10.0","_npmVersion":"6.10.0","dist":{"integrity":"sha512-gb6l7Xrwerm6fHEWU8pkOE9FYHijuZkEIM2wmt2tYRGKp8O5SLWLZfhgYSobjWAiuntzPWKmPf7vh1TMQL5NoQ==","shasum":"133a573e91fc2b6ebcd6ade6c18f07f82e2805ef","tarball":"http://registry-npm.ywwl.com/try-to-tape/download/try-to-tape-1.2.4.tgz","fileCount":5,"unpackedSize":5144,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdg3+VCRA9TVsSAnZWagAAzywP/24djvRWkkb4KuQybRum\nzFmsozkLnzvH8FHaZyNWvczQlwbjAd78XVVG9xKI66l8PsYrth+xp8BKyqp8\nv1MBqmtFBHuaKG2dHv2i0rnQ+/kocPqv9PjrPLIjwl7Hvtf0QZHD2eqKnh4B\nFX4zszjjqoM4OOjyyGy1OA5ucc+y7h4PNX9V4Uj4Qff3bdS44EAv8VMsRKUz\n3SIncAwA8DMsKLf7vNkzpuwIBdwqcEKUbHqZ73oOy6OlxX4MDoYKNrHBf5kE\nQTaBAA3BteE1K7p85sJ1Eg3T/yULlMt5Jrra6L4rXnJYV3P42LpNPUc6oh6E\nfXC8IC33K543Enr+KbcYxm6ufUFXSGX306A918FJx5+VTF+6sAI79RCyFXzr\nGznTWKtr/0+lqstl1JOs9w/LLacXe6VkneS4+gggsYo4lgsvoSvumE7+frWi\nx4a8ISB6GwwAfk2LLfUesRCmfl+fAJk/3q38qJuyfqW2n41UQHQ24CHZXtCR\nRnMG5J/qxMe0ZqvHZJv0A68tS+eHUX4ZLI45r5EYKIRIuFVOE/Roa/HZ/9wT\nFFIjMOOQCBK1Aug2lF4b/tG3msoBoP+LmObyc00JaS4lPOvG5MWDTLzaih/n\nomQ0j38pGbXJ/dMS0mQZlD3VwtNyiKvdf503v6Z3s274K8ZPiJ7luL+774aH\n/hSn\r\n=cHLP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDzcv75xHz6JI8aRIJedK7av8n7VL/UPMLTM+UT6gtJsgIgRd2fpVLxJLH4f3eq+pG0aN2576Q5f4wjzVDZzOVFJuk="}],"size":2346,"noattachment":false,"key":"/try-to-tape/-/try-to-tape-1.2.4.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.4_1568898964690_0.5879102937458189"},"_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":1568898964825,"_cnpm_publish_time":1568898964825,"dist-tags":{"latest":"1.2.6"}}