{"name":"try-to-tape","version":"1.2.1","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":"579513bc2c542fd16919adda49c8a922aa359c62","bugs":{"url":"https://github.com/coderaiser/try-to-tape/issues"},"_id":"try-to-tape@1.2.1","_npmVersion":"6.5.0","_nodeVersion":"11.6.0","_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"dist":{"integrity":"sha512-TRVRSvVzN5dxo2fuI8cPj/GUJoP+iUOJXR0JuJJq+qjOnviaAFJ0Ry1ck9sCrq7SfzzJle2rX4IxjUu90AkPMg==","shasum":"b182a9703fca29ffeda4217be9e087328441515d","tarball":"http://registry-npm.ywwl.com/try-to-tape/download/try-to-tape-1.2.1.tgz","fileCount":5,"unpackedSize":4822,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcOxLyCRA9TVsSAnZWagAA56IQAKJzfxB8dVlO5u72vV0j\nni75T/Pc7/P2009WP/bHPtJWucIqBmmGzbuEbWYzl9tiTYCr0m6OXBTS0gIi\nSm5YZ+uFHhR0IKQVEMK3tQkxkZQgFZ+1miC3FNeRw4WBlC4sVI2JLyFVL1U6\nNa7lO1JWVVR3zYuKNdGG/e684NVYE/hiOZQw/2/Aj7xBNKVWAQU3U2DSAy5c\nGJYcX0uiJ1XYMC6dqPEjjvTMZiVBK+H97gw9x8nef3wBlNrYx4aIjA4yk1yU\nyrNdH7fC36nRRznQ3sfI6ToDrfWjLlPbsTvZ1JCwTtrzN9DIxOd5LY79dGNa\nXtVME3ZEgDeNZ5p7LHZ2F7uretJs1T2G0nUmESD+iQ4XWCwOCPZbwMS1DokR\nExc2Ia8m21+XTJCjJzHqkAeELXwv60UKUPc5P9c7/CF29E1niWcYyMvWZtsr\n3AWyCm+PvRnU/jpiOYisU8x1l/4F0uaUPr2dsVgk1cIiOLEmp8yJd9pvnEE9\ndx7J91XaCf2qCkc6TZMCDi8ls6MR6nlVCNGp46qHSw5Mgm3gPB4sYe72Oetu\ntyFrc94XQ7IaDVNY9Av/VRgSWIjlLcfQFacZ6spMeHznRbEdt0+5RWeTmcbO\nmbGVPmVcY4Ym6ofGjbQ2DJqQ7qavEpX0kRvNPiYbHQ1ElZgVr0kUa8DssZ4a\nMoYu\r\n=3dwO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE9ihTafSdV/V9NVtQ9p+dqjZO8dlgCC18u6LKq/B31OAiAd5vqJzeZ6vaw8ijEv3GxF26GXmp1Q4C2jgdZ/89OzYQ=="}],"size":2283,"noattachment":false,"key":"/try-to-tape/-/try-to-tape-1.2.1.tgz"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/try-to-tape_1.2.1_1547375345408_0.04375360440149967"},"_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":1547375345536,"_cnpm_publish_time":1547375345536,"dist-tags":{"latest":"1.2.6"}}