{"name":"try-to-tape","version":"1.2.3","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":"tape 'test/*.js'","watch:test":"nodemon -w lib -w test -x \"npm test\"","lint":"eslint lib test","coverage":"nyc npm test","report":"nyc report --reporter=text-lcov | coveralls"},"dependencies":{"currify":"^3.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":"^5.6.0","nodemon":"^1.14.12","nyc":"^13.0.1","redrun":"^7.0.2","tape":"^4.8.0","try-catch":"^2.0.0"},"license":"MIT","engines":{"node":">=8.3.0"},"publishConfig":{"access":"public"},"gitHead":"160b61df5d334338ac4f713a9be96a63b3ea0b29","bugs":{"url":"https://github.com/coderaiser/try-to-tape/issues"},"_id":"try-to-tape@1.2.3","_npmVersion":"6.5.0","_nodeVersion":"11.6.0","_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"dist":{"integrity":"sha512-Q1NZ8Xuw/cJfDjEVk0aITFXmZspBviX3c1ciwgXY8BY3VeEBnlrmvRtr0AmbEPNx7TyKz3dFBPlLYr9jtYgrEA==","shasum":"36e6dcccee222669d8c6df471657c8c7581bd79a","tarball":"http://registry-npm.ywwl.com/try-to-tape/download/try-to-tape-1.2.3.tgz","fileCount":5,"unpackedSize":4961,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcOx1gCRA9TVsSAnZWagAA6T4P/2tbDLnIS5HTYtcW1pZm\nl5rVfUYRqFdMNRWO+IgfUyOMOLO0x2BKRDPvgbiPk/y3/plk42oOxG1Xt92r\nEjJL43AvAuWfcc0ZwxEH/JXMCGxJsGuJ3EcXKWE5MAaOmzqFfnaKKr8lSfys\n8x2keXB5LzTzq/drWJXp6UidQXmDC1cPf6NG5hkPKh8PWxWN8ojXpYfBMA6O\nyESiWPyH+Hkjx0z94BDMpF9/pZf7ozjGsqNrYYZ2SSP05lIhnAeP52rQMvNt\nhIWtgaLbsAwZthdoExCFqTLkcTJU0PwnKqVapsZQKakHkE34fUHRszM59TvI\nZgg+ZtoyX5MhMq2wKeWyUTFpOVI+g7Zm9kpZg0FqTCplsbQbPj0vKOs4uqZd\nUIMiJs0z8ke2iIrogIYo8ffwerY+Gdb6dNK2Fz2ACHFnT1OUmQNvhQKkNVLA\np8lrHznB1lPmXSr+wDFJopzgsITBXCx1qBEItEp+ZpcXRBOYt3KXPTSe0Sxb\nVvmvV0sfvYxskbeSFoKimb/ky9Eycs0pOV1NpGVC/3/ifqoxQkmXhRcO2X5b\naGdD0IHvKevzoMRxJDnkbeyIt8TD4WvacOb4TM7iOCNVJJRb57F2b99GyaXM\nKVplyb/8kc3DgK8+S7Lr/UZXcwR2dzWrhGKPkgZLYSNL9dUEy4LDV+tCBOoe\nAihA\r\n=C0Mb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDPlQ9oQ8OwWhFSkFgOxPSUVA5lvPehOLrbn/NSaibCZQIhALHcvQDHGl/ZndP1SuTYG7zWdlXdZItKF84lpNMMpCkO"}],"size":2318,"noattachment":false,"key":"/try-to-tape/-/try-to-tape-1.2.3.tgz"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/try-to-tape_1.2.3_1547378015740_0.0170143145960715"},"_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":1547378015882,"_cnpm_publish_time":1547378015882,"dist-tags":{"latest":"1.2.6"}}