{"name":"try-to-tape","version":"1.0.0","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":{"coveralls":"^3.0.0","eslint":"^5.6.0","nodemon":"^1.14.12","nyc":"^13.0.1","redrun":"^7.0.2","sinon":"^7.1.1","sinon-called-with-diff":"^3.0.0","tape":"^4.8.0","try-catch":"^2.0.0"},"license":"MIT","gitHead":"bc81a29d0b4c5796348422362af0a3fe25ebdba4","bugs":{"url":"https://github.com/coderaiser/try-to-tape/issues"},"_id":"try-to-tape@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"11.1.0","_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"dist":{"integrity":"sha512-7PO0Ef1VZnGAIL//TSo6lsymBd6+k6N/KTvkgHsixPl8+CiE/lxdW/VYd7IpWQ5020lh87OfSM0EO39o7G2Lkw==","shasum":"f3260e474b879d0c3c9205b6e8395c1c7b6170fb","tarball":"http://registry-npm.ywwl.com/try-to-tape/download/try-to-tape-1.0.0.tgz","fileCount":4,"unpackedSize":4459,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5GslCRA9TVsSAnZWagAA1tgP/1diPZBjRgQLVp5VmMug\niHjG9CGNb2aOYP16ZlbbQTBmQO9Q+u/FtLIONibC46ZESVvt6tt5fi138TGW\nOEB1C47GofQKMKDfKHbWwaXhsupczPlCeysN66g+DKdfsUolLWToEbT15xY1\n36es9U7HESrdVGWjCrc4vI416cO1+nUhr3lMGxV5xLTIoWId4AiMnvhBRAa6\naluo41qDafV8YVGV6MqgcnwdH8UtP03eFnQ5eHd/cmaWxff25YH3+jGYhF0j\n6+6uqaLZirk4z4jfiRNYTixfhheSBuhKxUUI+hUc6/GIHaTMR0oH42perqma\nnlUSy9wqL4PG+//W8f/fp0Rv9wDtW0KdBC2rkiewV1rRFvFbPRCy+HU2cfj9\nP03kg9AWZbAnUWJrFrEYRElYrjhxuGydt15vnrqRHTFrN7yTcZ1+TfBmPS8J\nr1bzjB+BFR57kujnzRiYqS6WLyHMgTK87cZ1rRbu6JeZG+DKbfSdlcHcnzsF\nNy85oIy/g8O13B35OXUdq1skG3N4jqm26ZyL5A9rl5zlR4vE1JqWI1LSHTkr\nM8c3DEBg2rJVnaHIGZryl+ECS6wvDWt9fbu40jYFsJjYGm76fsvgLvPGMV3U\nYg4VJm5bJnYHqwDx0CZMxSzlPe7XGeRgCNUr37UrOsVjprvS9itq/HykV/Sr\nOfeq\r\n=Gxw5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCYaIRHe0rCOon3ZZ86e/B+8pXAhl1V2qYJfC79jQ1rKgIhAIXXdSguG0mytyqAvEVdvf3ujMAMhNfZTtzhrskskVr5"}],"size":2082,"noattachment":false,"key":"/try-to-tape/-/try-to-tape-1.0.0.tgz"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/try-to-tape_1.0.0_1541696289763_0.49776538830386996"},"_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":1541696289869,"_cnpm_publish_time":1541696289869,"dist-tags":{"latest":"1.2.6"}}