{"name":"try-to-tape","version":"1.2.2","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":"96a2a841584cf779d0e4c3d98bc75280bf7a6ca5","bugs":{"url":"https://github.com/coderaiser/try-to-tape/issues"},"_id":"try-to-tape@1.2.2","_npmVersion":"6.5.0","_nodeVersion":"11.6.0","_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"dist":{"integrity":"sha512-zZb6w70C728/p+2EpO6ZM+N59m6O79pdhsPNKmCM33zCIAXFLYwOE8wYmrOEBBZ8UT5XMLBA/2ILPgWR4FsBpg==","shasum":"e04f91f7e7929cf3add0e26a60924fbc467d7008","tarball":"http://registry-npm.ywwl.com/try-to-tape/download/try-to-tape-1.2.2.tgz","fileCount":5,"unpackedSize":4873,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcOxjFCRA9TVsSAnZWagAAMeQQAIt9NYVvcUCkQyEnx3pg\npW0QpQQLPRPsFJ99mt9orkM/sLv4DCfflJbGVNyyoK/VIZ2UAHITvZbbbqeb\nLk07rpCdJpFlij+At9McSCtMaqXBgvu+lKym8o1Sm5SNhIxu9vMVfjRAA7Y5\n2gOIUPFP4Gd9Y8PBZRExRF+AW5t/j5IY7YOIYxUMGE+oX8h6qH4ffqa7We6u\nfojG2M/F1sOddOTT2awVS/fXRe69J9Ee+Vy90KzxcmPCh7/aLYbGVZ5YPDo8\nj68SD1L8yJc4HaoRpGEB2wlH88L0Ewpj8oHQUWnUawg4uQ5V/f69fqzl6j30\nRxvuMvGKGurOQ6Hgy9hqvxnX7Vc7yoVJA/UGEyv5jprqJiwOjgVoIbShakD1\naSGxE2p7cF0ZY4TLJOfDaGZxR9kXO/P//+BpTo1ZWM3tFZfguQrzsiAVcqm+\nCllZogRhE7l7q6lvwnDZUtoijjnA97q6Ja4H/mB2KPE6tHGQH0KyFFgd9+Ix\nvL1E+/rbY9HbM41ixNMhJV4whTOM/Y2lehu1dJ+TH0DV0MMFTTB/L+TZNQzf\nSOJxhWCZFSrsKxNCyWrTwRggYbHxlDAjb1e2YCvpHnAB1aYIf9IDpH4hTR+a\nSlBky8c4zD8DnBJnShl9NZoVBqBp0JkMqgobZADKlflexLlZTTyD/2402qkx\n0fc8\r\n=LuPZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDSXLM2gugu+cRA9uHsoR4V4wUImSHRL5AWiLCQurzaGgIgcnFl0+nwCvruF30tQMoI6HjSpf0yvZ1UtO09tTnT7gU="}],"size":2295,"noattachment":false,"key":"/try-to-tape/-/try-to-tape-1.2.2.tgz"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/try-to-tape_1.2.2_1547376836389_0.9113742321649057"},"_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":1547376836533,"_cnpm_publish_time":1547376836533,"dist-tags":{"latest":"1.2.6"}}