{"name":"try-to-tape","version":"1.1.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","engines":{"node":">=8.3.0"},"gitHead":"ddbbb701bae1c3af9368d30f211fbf23d5f6dd57","bugs":{"url":"https://github.com/coderaiser/try-to-tape/issues"},"_id":"try-to-tape@1.1.0","_npmVersion":"6.4.1","_nodeVersion":"11.1.0","_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"dist":{"integrity":"sha512-9pgU82qcpAIJcj6OWDBB+kSAx6+lC/7schZ4JdaGRedpUgdRSxQ7R2Pwz8xeq3/w+waeXlLO9fiveFawQ+jYXg==","shasum":"463a8095ea4206581081428e81fc1f26a82d74d3","tarball":"http://registry-npm.ywwl.com/try-to-tape/download/try-to-tape-1.1.0.tgz","fileCount":5,"unpackedSize":4627,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9+TcCRA9TVsSAnZWagAANZEP+QHj48V4TC0HQueiNve5\n01u/yrFAJ/XnYIOs5/PhnpdX0wceH5wCY3wqBwTVvgnCCTJc31GqPxGYyfvc\nQstJZ+1Bt/MJR5OcaYgPXucCKwKetUKFcsDy3x7BF3xKcGPzNpW7+8bUp98X\nTwSgsnw6X5y5T6xmPIZOJMrem3eLSg9q1cGEqpOxvTmA/P2ALzwVTXNgJ5lk\nuyAZLJCCSLj9tAgxu98OXPsVadt69Fuw7zKOmQrR+/c1AmcwKzQWUc3dGZO6\nqeWGhrL3Vkpb0TkXM2+N84Ayap7621fe+S8MY4OgLhc2Q0I8CF/Qwjaa74l9\nT7wTA7NQMVWQ/zs87rQu8JXbLS7+MplyEm8i1m5ddIrX8u+uP0ylZmW6IsjL\nRRxqyC3aYYYn5Ic9/nisqmSG2mYHG0x9Kq8h6Nf+/98JljJPpexdpROfRxLP\npdHa9+tldigVU2AiKNQgJIS5Sbk+jAuhYN4z2JwyoeQINc9acuNoHBxR2qY8\nAhH6B2mSaIo8Pkbz7SzPEQUmiV7r5yyM/p3B1HHID/hh7LpWFKaNoVDS+hKh\na/w0kacl/Z8AswTpDzefZhE8nJkE+1e9bYxSYFDEZGnKt5HVkFG4E/2HIAS2\ngr0R2b4BaNNzI8HYTQsdPtbNVRjDaLCz9DfZWSh2jHvwyw7/QjQqEjGBypuj\n/2ti\r\n=EvVJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIARWwLXZkk/Z6Z5kGyVLI/gIXAPHSf+evjSpOLeSgt4QAiB60SyQux2qLdwFK5LKjHbpkgIG6HNNvEqFGIEekqMUAg=="}],"size":2210,"noattachment":false,"key":"/try-to-tape/-/try-to-tape-1.1.0.tgz"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/try-to-tape_1.1.0_1542972635360_0.47682167613396986"},"_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":1542972635459,"_cnpm_publish_time":1542972635459,"dist-tags":{"latest":"1.2.6"}}